Re: C++ & Templates was Re: Question about programming techniques



On Sat, Jun 27, 1998 at 10:42:23AM +0200, Kasper Peeters wrote:
> > well ... probably templates are ok if used in moderation ... but
> > then you're not really saving all that much typing anyhow ...
> 
> You don't save typing, you save coding (and debugging, and profiling)
> of the container class library.  Moreover, your code will be readable
> for others, since any C++ programmer probably knows at least know some
> of the concepts of STL.

I never debugged and profiled glib .. yet I'm using it for all my container
needs ...

however .. I have tried unsuccesfully to debug and profile a large project
which used STL and it just wasn't all that much fun ... nested containers
get slightly weird with STL ... while they are perfectly clean with glib

George

-- 
------------------------------------------------------------------------------
George Lebl <jirka@5z.com> http://www.5z.com/jirka/
------------------------------------------------------------------------------
  The following implements RSA in perl and is illegal to export from the US:

          #!/bin/perl -sp0777i<X+d*lMLa^*lN%0]dsXx++lMlN/dsM0<j]dsj
          $/=unpack('H*',$_);$_=`echo 16dio\U$k"SK$/SM$n\EsN0p[lN*1
          lK[d2%Sa2/d0$^Ixp"|dc`;s/\W//g;$_=pack('H*',/((..)*)$/)



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]