[openbeos] Re: BString

  • From: "Axel Dörfler" <axeld@xxxxxxxxxxxxxxxx>
  • To: openbeos@xxxxxxxxxxxxx
  • Date: Sun, 11 Nov 2001 05:13:27 +0100 (MET)

>Yeah - I think that the STL seems a little ... over engineered for me.
>Templates are an interesting idea. But they are a pain to use, make 
the compiler's 
>error strings *completely* impossible to read, and I don't even want 
to think
>about the efficiency of the code. Plus, since they try (out of the 
goodness of
>their hearts) to hide the algorithm, unless you find documentation 
about
>the costs of a particular operation, you have to guess.

Actually, Templates are very efficient - that's (more or less) the 
whole idea behind it. The code is compiled for every type you use it 
for.

Adios...
   Axel.


Other related posts: