Java Geekness

And no, I don’t mean coffee.

If one remembers, I have casually mentioned over here that I am taking Java this semester.

If one does not study in courses with Java-related modules, I’m not sure whether one will understand how hard Java is. (Considering the fact that almost everyone I know who has taken OOPM complained how hard Java is, it frightened me even before I had an encounter with it.)

However, I seem to be falling in love with Java with every passing lecture, tutorial and practical.

Okay. Fine. It helps when you have an easy-going, friendly and young lecturer cum tutor to explain the lecture and tutorial lessons. (Practicals, however, do not apply as the lecturers are boring. Still, I’m not complaining.)

However, Java gets my curses whenever I see things like this:

x++ is the same as ++x
e++ is the same as ++e

x++ * j + ++e is not the same as ++x * j + e++

During practicals, when there are conditions like:

Write a program that reads an integer between 0 and 1000 and summarizes all the digits in the integer.

I tend to want to include an error condition when the user (would be an absolute idiot and) puts “1001”. My error message would come out as:

Baka-mono! I asked you to put an integer between 0 and 1000 only! Now you’re getting this error!

Oh, how fun! Sadly, Jun Wei warned me that though it may look fun at the beginning, it would be harder later on.

Ok, I’ll stop the geekness. Now quit yelling at me to shut up about Java.