What's To Love About C? 793
First time accepted submitter edA-qa writes "Antiquated, clunky, and unsafe. Though beloved to some, C is a language that many choose to hate. The mass opinion is indeed so negative it's hard to believe that anybody would program anything in C. Yet they do. In fact a lot of things, even new things, are programmed in C. The standard was recently updated and the tools continue to evolve. While many are quick to dismiss the language it is in no danger of disappearing."
because (Score:4, Funny)
char *post = "first";
Re:because (Score:4, Funny)
Back to C++ Land with you, rascal!
Sesame Street already covered this (Score:5, Funny)
It's for cookie.
That's good enough for me.
Fortran is better. (Score:5, Funny)
Go ahead. Argue. I dare you.
v same sig since 2002. v
Re:news for n00bs (Score:5, Funny)
Move along, nothing left to C
C - The language of Patriots (Score:5, Funny)
After all, in our National Anthem, we ask, "Jose, can you C?"
Re:Maybe because it compiles down to the metal... (Score:3, Funny)
Even better - it allows you to actually make the results efficient. While most CS grads these days likely expect hardware tech to keep up with the bloat, there are a few folks out there who know what it's like to economize like hell when it comes to CPU or memory.
Also, when you're seriously pushing limits, it's the performance difference between a 1982 Chevy Nova with a busted head gasket (.NET, I'm looking at YOU), and compiling yourself a Porsche 911 with all the Autobahn goodies included.
Re:because - (Score:5, Funny)
And the funny thing is that most people who write const char* foo really want char const * const foo. You don't want either the pointer or the data pointed at to change. However, almost nobody knows that, so even those who do just use the weaker const char* so people understand the code.
Hmm. I wonder why there's so much animosity towards C? It's a mystery.
Re:Useless submission. (Score:5, Funny)
Curiosity is real. Unless declared integer.
Re:because - (Score:2, Funny)
The animosity comes from ignorance and lack of ability. In other words, the animosity comes from those who aren't qualified to judge.
Exactly. Unless you guys can make device drivers in Visual Basic like me, you're not qualified to put down the language.
Re:because (Score:5, Funny)
No, he's right. On systems where your constants exist in a different medium than your variables (such as microcontrollers where variables are in RAM but constants are in flash), declaring a string as const or not const can have a big impact on what resources you eat up. Typcially, there's often a #pragma or non-standard keyword such as ROM that goes along with this.
And this is particularly relevant in this case, because Slashdot runs on CowboyNeal's microwave oven.
Re:C - The language of Patriots (Score:5, Funny)