Archive for the ‘fun with code’ Category
Blog relaunched
Sunday, January 3rd, 2010
Posted in: fun with code, wordpress.
I just relaunched this blog, based on the latest 2.9 release of Wordpress.
The new design uses significantly less CSS and markup and increases the accessibility of the content. The design is also making use of the wider screen resolutions that became sort of a standard in the last years.
The image at the top is a scaled-up photograph of the Alps as seen from Bern, Switzerland.
Enjoy!
Olaf
Checkstyle error: Uncommented main method found…
Wednesday, May 14th, 2008
Posted in: fun with code, java.
Just for the record: The checkstyle error Uncommented main method found does NOT mean the main method lacks a javadoc comment, but that the main method is not commented out. Checkstyle regards main methods as useless “debugging” leftovers.
//CHECKSTYLE:OFF and //CHECKSTYLE:ON helped me out. And yes, i think this particular check is really, really, really useless. I think someone using arbitrary main methods in sourcecode for debugging purposes is hardly going to know of checkstyle’s existence anyway…
Evolutionäre Softwareentwicklung vs. Kreationismus
Thursday, January 17th, 2008
Posted in: fun with code, java.
package java.lang;
/**
* Class <code>Object</code> is the root of the class hierarchy.
* Every class has <code>Object</code> as a superclass. All objects,
* including arrays, implement the methods of this class.
*
* @author God
* @see Bible
* @since The beginning
*/
public class Object {
private static native void registerNatives();
...
Hmmm. Ich weis nicht.
No Comments