Prevent mistypings to the String class

The conversion of objects to strings (or stringification) can cause problems in Java programming unless you remember that string representations are rarely used in solid object-oriented applications. In this article, systems analyst and programmer Fernando Ribeiro builds on Eric Allen’s bug pattern concept and explains how mis-stringification can be a bug pattern; he discusses the diagnostics of this elusive pitfall and expounds on the benefits of type safety.

http://www-106.ibm.com/developerworks/java/library/j-string/

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s