Java Geekness

Tags: girl · school

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.

21 Comments »

RSS feed for comments · TrackBack URI

jer commented

November 17, 2005 @ 22:12

++x is not exactly the same as x++

++x evaluates to the value of x before incrementing it
x++ evaluates to the value of x _after_ incrementing it.

might wanna take a gander at http://java.sun.com/docs/books/tutorial/java/nutsandbolts/arithmetic.html


Thanks for the link. I guess what I wanted to say was that both ++x and x++ ends up as x = x + 1

yojyoj commented

November 18, 2005 @ 3:54

java assignments’ll either make u luv it more or make u regret lovin it @ e start… ve fun doin it i tink u’ll luv it^_^

Dan commented

November 18, 2005 @ 14:02

I totally forgot about how geeked-out I was when I learned the difference between the two, waaaay back in the 90s T_T

Thanks for the Memory Lane trip, though! :-)

It’s all coming back now. In 96/97, my fellow classmates thought that Java would put all other computer languages to rest - ahahahahaha!

::wipes tear from eye::

Brenda commented

November 18, 2005 @ 16:32

Ironic how I’ve just made a new entry on Java, although its contents are entirely different from what is being written here. :P

And ooh, I love Java. :P Anything to do with programming, I like.

Marz commented

November 18, 2005 @ 18:10

And I sit here, completely clueless.

*vacant stare*

I learned Java briefly back in high school, and was supposed to learn it in depth for the next semester, but I replaced that class with Accounting, hehe! Good luck this term!

listless commented

November 19, 2005 @ 2:43

Java is cool, and just wait until you get more into the framework! Therein lies the real power to really /do/ things in your day-to-day enterprise coding world. And knowing java gets you an easy pass into the other “curly bracket” languages like C# and whatnot.

Have fun and study hard, the fundamentals you learn here will serve you well for decades to come…

:-)


Thank you, Dan. I’ll do my best!

Chau commented

November 19, 2005 @ 4:22

Woah… That seems hard! I might take that class a couple of semesters from now… So we’ll see… Good luck with it!!

patty commented

November 19, 2005 @ 12:19

there were java classes back in my high schools days and people would tell me it’s very complicating! I’m kind of comp illiterate. what do you basically do in java? even though it may be tough, you’ll do okay! best of luck!

Mei commented

November 19, 2005 @ 18:03

I’ve read your blog and… I don’t understand a single thing! It’s like reading Spanish :( Lol! Stop that geekness and shut up about java :P Hope you’re doing okay!

Amanda commented

November 20, 2005 @ 11:38

@_@

*goes off to look for an English dictionary to console herself*

milktea commented

November 20, 2005 @ 13:30

speaking of java, i am planning to take java certification exam. good luck to both of us.

boss commented

November 20, 2005 @ 19:13

Ya, I vaguely remember that x++ and ++x are different in some way. Guess jer pointed that out. Haha, but then again, I’m crap at java.

It’s good that you’re enjoying it coz I believe that the level of interest also contributes to the ability to do well in a subject. Like Jun Wei said, it will get harder but if you’re able to grasp the subject well and have a solid foundation, it should be no problem.

You could head on down to my lecturer’s (Mr D’s) blog from time to time, he puts up some practice questions for his students. Can ask him questions on java as well.

Sue Anne commented

November 22, 2005 @ 12:46

hey! been a long time since i surfed around. good to see you’re doing fine and all. good luck with your java!

dani commented

November 23, 2005 @ 23:06

lol, I can’t wait to take java later in life… yeah it looks fun now, but i’ve looked at some manuals, and wow, ok, doesn’t look that much fun anymore ^_^ good luck, nadine!

min commented

November 24, 2005 @ 21:26

hahaha Java is fun in the beginning. When you go further into the different models and the recursion and how to to code properly to make it efficient (not just coding) it probably will drive you insane for a while. x_X

von commented

November 25, 2005 @ 1:12

java is damn fun to do, like a puzzle. BUT it’s the exams that will drive u insane!

JB commented

November 26, 2005 @ 1:30

some crazy language…. O___O ganbatte ne

louie commented

November 29, 2005 @ 18:17

lol… i love your error condition… lol…

uncle sha commented

December 5, 2005 @ 2:02

ahhh programming! nightmare

Kay commented

December 5, 2005 @ 6:42

OMG. I don’t think I really understood that, but uh, I won’t be taking Java. Not like this town even offers that kind of class, other than C.A.D., which is like, xtremely hard computer classes thingie, I don’t remember what. I do think it offers Java though.

josh commented

December 5, 2005 @ 7:54

hey naddie, have you been to suntec city recently? i thought i saw u having lunch here a couple of times.

i could be wrong though…

Leave a Comment

Kindly leave a comment that is entry-related