This post originated from an RSS feed registered with Java Buzz
by Alan Williamson.
Original Post: sHits and StringBugger
Feed Title: Technical @ alan.blog-city.com
Feed URL: http://www.ibm.com/us/en/
Feed Description: (Technical) the rants of a java developer trapped in the body of a java developer!
I was amused by Daniel's post on his sudden usage of that well known class StringBugger, which, few actually know is a derived class for StringBuffer. I have found myself in a similar situation the other week. I had coded up a class and asked a colleague to take a look over it. He was amused to see it had 'shit' all over it. Confused I looked at what he was talking about.
I had a simple counter variable to track the number of sessions in the class; i called it 'sHits'. Completely flew over my head at the time, never twigged! I am now paying a lot more attention to my variable names!
Daniel if you are reading this, i tried to leave a comment on your blog, but JRoller crapped out on me with a huge stack trace detailing; java.lang.NoClassDefFoundError: javax/mail/MessagingException. Own up, who stole the mail.jar file from the classpath!?!?! Can they please put it back, for the sake of the JRoller bloggers.