how relevant is C today?
David Rasmussen
david.rasmussen at gmx.net
Mon Apr 10 16:00:13 EDT 2006
Lawrence D'Oliveiro wrote:
> In article <443965f2$0$67257$157c6196 at dreader2.cybercity.dk>,
> David Rasmussen <david.rasmussen at gmx.net> wrote:
>
>> In my everyday work, I am forced to use a C90 only compiler, and
>> everyday I miss some C++ feature that wouldn't make my program any more
>> complex, quite the opposite. These are features like "const", no default
>> extern linkage, more typesafe enums etc.
>
> "const" is in C89/C90.
Broken const is. C++ const is different from C90 const.
> As for the others, how about hiding a copy of GCC
> somewhere, just to use to preflight your code before actually building
> it with your compulsory broken compiler? :)
I can't do that. I compile for a special system with loads of special
libraries. The code can never compiler on a stock gcc compiler. Besides,
it doesn't help me to better and more precisely express notions in my code.
/David
More information about the Python-list
mailing list