Is all this Invarient **** er... stuff, premature optimisation?

terranium spam at here.lot
Tue Apr 29 01:18:13 PDT 2008


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.



More information about the Digitalmars-d mailing list