www.digitalmars.com         C & C++   DMDScript  

digitalmars.D - Re: Is all this Invarient **** er... stuff, premature optimisation?

Walter Bright Wrote:

 Lars Ivar Igesund wrote:
 After working with Java for quite some time, I have naturally drifted from
 using invariant strings to stringbuffers.

Java strings lack slicing, so they're crippled anyway. I believe that slicing is one of those paradigm-shifting features, so I am not making an irrelevant point.

Building an SQL query with multiple concats is a well-known pitfall for novice programmers.
Apr 29 2008