I have come to the realization that everything that makes me angry in Java pisses me off in Windows. This has been especially evident when I gave up using Java to study for my CS final and instead have been actually completing some work using Python after taking a few hours of my time to relearn.
Let’s have a look at Java.
class HelloWorld
{
public static void main(String[] args)
{
System.out.println("Hello World!");
}
}
How about that C?
int main()
{
printf("Hello World!\n");
}
And my favourite, Python.
print "Hello World!"
Why am I creating a class for a trivial program? Why am I declaring the scope of the main function? Why isn’t main a reserved word?
See, Java makes you go through unnecessary hoops and annoyances to do hammer it into submission. Apparently, this is “more safe” and “reinforces good programming practice”.
Sound familiar?