From: Austin Ziegler Date: 2005-01-27T22:29:48+09:00 Subject: Re: Software Reliability and method i/o On Thu, 27 Jan 2005 18:29:03 +0900, Curt Sampson wrote: > One of the things I think Java did right was to make Strings > immutable. One of the things I think Java did wrong was to make > Dates mutable. I'd have to completely disagree with you here. I think that Java's choice to make Strings immutable has made the language much more unpleasant to deal with, and results in a number of inefficiencies when one -- inevitably -- must modify the contents of a string object. Always using construction and concatenation isn't acceptable, and the overhead of using StringBuffer all the time is undesirable (especially since you have to construct a StringBuffer every time you need to deal with this since everyone returns String objects). Matz got it right when he made Strings mutable. James and Guido got it wrong. -austin -- Austin Ziegler * halostatue@gmail.com * Alternate: austin@halostatue.ca