Re: [linux-audio-dev] [ot] [rant] gcc, you let me down one time too many

From: Jan Depner <eviltwin69@email-addr-hidden>
Date: Mon Jun 06 2005 - 23:45:58 EEST

On Sun, 2005-06-05 at 23:53, Dave Robillard wrote:
> On Sun, 2005-05-06 at 05:14 -0500, Jan Depner wrote:
> > On Sun, 2005-06-05 at 08:08, fons adriaensen wrote:
> >
> > > My aproach to C++ is very simple: I use it as 'C with classes'. No streams, no
> > > STL, no other nonsense. Gives me the best of both worlds - clean objects and
> > > low level.
> >
> >
> > Good answer. I've often wondered why anyone would use vectors.
>
> Because they dynamically resize, easily, and are generally much simpler
> to work with, perhaps? :)
>

    C arrays dynamically resize easily (with realloc), are just as
simple to work with, and they're way faster. I'll take efficiency over
ease of use in most cases.

> Not that C++ doesn't still suck..
>

    I actually like C++ for some things but you should always try to use
the best tool for the job. In most cases I prefer C.

Jan
Received on Tue Jun 7 08:15:08 2005

This archive was generated by hypermail 2.1.8 : Tue Jun 07 2005 - 08:15:08 EEST