Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

What would you change in C?

Name: Anonymous 2009-08-26 13:44

It's the time for the next revision of the C standard and for some reason they want your advice. What do you add, remove, rename, etc ?

Name: Haxus the Beetrolled 2009-08-29 18:04

>>88
5/10.  IHBT ;(

No goto statement.
Having goto in C isn't harming anybody.  If newbie/retarded programmers accidentally use it then so be it; inexperienced people will make mistakes like that no matter what you take out of the language.  I don't think you have any idea what you're talking about.
case statements shouldn't require constants.
This I might actually agree with.  Someone correct me if I'm wrong to think so.

Name: Anonymous 2010-04-29 11:40

>>92
I thought that's how switch statements are optimized by the compiler. I could be wrong here.

>>1
Scoped pre-processor definitions.
#{
# define hello (int)1
int test(){
    return hello;
}
#}

int test2(){
    return hello; // causes a compiler error, hello is undefined at the end of the scope
}

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List