The Artima Developer Community
Sponsored Link

Java Buzz Forum
sHits and StringBugger

0 replies on 1 page.

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 0 replies on 1 page
Alan Williamson

Posts: 78
Nickname: awilliamso
Registered: Sep, 2004

Alan Williamson is chief architect of Blog-City and BlueDragon in addition to his online ramblings
sHits and StringBugger Posted: Sep 23, 2004 1:28 AM
Reply to this message Reply

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!
Latest Java Buzz Posts
Latest Java Buzz Posts by Alan Williamson
Latest Posts From Technical @ alan.blog-city.com

Advertisement

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.

Read: sHits and StringBugger

Topic: Every C-Level Exec's New IT Dilemma. . ."Who Goes to Jail?" Previous Topic   Next Topic Topic: A Guide to J2EE Connector Architecture

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use