Is C99 the final C?
From: Michael B. (usemike_at_spamblocked.com)
Date: 11/30/03
- Next message: Christian Bau: "Re: [OT] Indian C programmers and "u""
- Previous message: Christian Bau: "Re: [OT] Indian C programmers and "u""
- Next in thread: Morris Dovey: "Re: Is C99 the final C?"
- Reply: Morris Dovey: "Re: Is C99 the final C?"
- Reply: those who know me have no need of my name: "Re: Is C99 the final C?"
- Reply: Jack Klein: "Re: Is C99 the final C?"
- Reply: Sidney Cadot: "Re: Is C99 the final C? (some suggestions)"
- Reply: Servé Lau: "Re: Is C99 the final C?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Sat, 29 Nov 2003 17:19:59 -0800
I was just thinking about this, specifically wondering if there's any
features that the C specification currently lacks, and which may be
included in some future standardization.
Of course, I speak only of features in the spirit of C; something like
object-orientation, though a nice feature, does not belong in C.
Something like being able to #define a #define would be very handy,
though, e.g:
#define DECLARE_FOO(bar) #define FOO_bar_SOMETHING \
#define FOO_bar_SOMETHING_ELSE
I'm not sure whether the features of cpp are even included in the C
standard though (and GCC has definitely taken quite a nonstandard approach
with regards to certain token expansions and whatnot), but that's one area
of improvement I see.
I would also like to see something along the lines of C++ templating,
except without the really kludgy implementation that the C++ folks decided
to go to ( and without the OOP ).
... Mike pauses for the sound of a thousand *plonks*
Templates save a lot of time when it comes to commonly-used data
structures, and as they are entirely implemented at compile-time and don't
include, by their definition, OOP (although they can be well suited to
it), I think they would be a nice addition and in the spirit of C.
Your thoughts? I'm sure there's some vitriol coming my way but I'm
prepared 8)
--
Mike's Patented Blocklist; compile with gcc:
i=0;o(a){printf("%u",i>>8*a&255);if(a){printf(".");o(--a);}}
main(){do{o(3);puts("");}while(++i);}
- Next message: Christian Bau: "Re: [OT] Indian C programmers and "u""
- Previous message: Christian Bau: "Re: [OT] Indian C programmers and "u""
- Next in thread: Morris Dovey: "Re: Is C99 the final C?"
- Reply: Morris Dovey: "Re: Is C99 the final C?"
- Reply: those who know me have no need of my name: "Re: Is C99 the final C?"
- Reply: Jack Klein: "Re: Is C99 the final C?"
- Reply: Sidney Cadot: "Re: Is C99 the final C? (some suggestions)"
- Reply: Servé Lau: "Re: Is C99 the final C?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|