News for hackers. Stuff that matters.
Re:GCC switches from C to C++ by dkersten on Wednesday August 15, 2012 @12:49PM (#4386831)
he would call people stupid
Re:GCC switches from C to C++ by gnarbarian on Wednesday August 15, 2012 @01:25PM (#4387046)
He is right most of the time though.
Re:GCC switches from C to C++ by duaneb on Wednesday August 15, 2012 @02:42PM (#4387472)
No, not really, he's just loud.
Re:GCC switches from C to C++ by oh_sigh on Wednesday August 15, 2012 @09:14PM (#4389375)
Oh okay. I think I'm going to trust the guy who wrote the linux kernel over...duaneb.
Re:GCC switches from C to C++ by duaneb on Wednesday August 15, 2012 @11:21PM (#4389762)
No, he has good points, but doesn't really rely on logic so much as vitriolic humor. For example:

http://forum.gwan.com/index.php?p=/discussion/587/its-bs-bec...

Basically, his entire argument is the slippery slope fallacy based on assumptions that may never occur. Plenty of great software is written in C++, even using STL, that doesn't lead to software that is any more difficult to maintain than the equivalent C program. For one thing, refactoring due to design change is a pain in the ass with or without objects. He also doesn't address the fact that polymorphism is very unwieldy in C. While it's very defensible to NOT use C++, I don't think that saying that "C is the only sane language" is fair. That, or Apple, Google, Microsoft, Oracle, and Facebook are full of people who are barking mad.

However, in an environment like Linux and git where code practices may be less restrictive than a corporate or authoritarian environment, the natural restrictions of C (i.e. lack of easy-to-abuse features) may seem like a feature in itself.

Re:GCC switches from C to C++ by oh_sigh on Thursday August 16, 2012 @03:33PM (#4393219)
Then why not write a rebuttal and ask for his feedback? It's impossible to anticipate every possible counter to an argument, and it would be prohibitive to list and rebut them all within a single message.

> Plenty of great software is written in C++, even using STL, that doesn't lead to software that is any more difficult to maintain than the equivalent C program.

I don't deny that great software is written in C++, but what is your evidence that C and C++ have the same maintenance burden.

Re:GCC switches from C to C++ by dkersten on Wednesday August 15, 2012 @02:28PM (#4387386)
I didn't mean to imply otherwise :) merely stating what it is he'd do.
Re:GCC switches from C to C++ by flatline3 on Wednesday August 15, 2012 @02:41PM (#4387461)
No, he's just prolific.
Re:GCC switches from C to C++ by jlgreco on Wednesday August 15, 2012 @02:50PM (#4387510)
Is he actually? He only "has" two projects that anyone cares about to my knowledge.
Re:GCC switches from C to C++ by noct on Wednesday August 15, 2012 @04:29PM (#4388033)
He meant it in terms of calling people stupid.
Re:GCC switches from C to C++ by eswangren on Wednesday August 15, 2012 @03:17PM (#4387671)
Two prolific projects that amount to far more than the vast majority of us of is will ever accomplish.
Re:GCC switches from C to C++ by jlgreco on Wednesday August 15, 2012 @03:39PM (#4387779)
I suppose "prolific" does not necessary imply breadth or depth.
Re:GCC switches from C to C++ by eswangren on Wednesday August 15, 2012 @04:12PM (#4387955)
I believe an operating system typically implies both.
Re:GCC switches from C to C++ by duaneb on Wednesday August 15, 2012 @07:24PM (#4388915)
Prolific typically implies many things. I have a deep respect for linux and git, but neither are really prolific.

Anyway, I thought the OP meant he was prolific in his tirades, which is very true.

Re:GCC switches from C to C++ by jlgreco on Wednesday August 15, 2012 @04:22PM (#4388000)
The way I interpreted the word was more "doing lots of things" and less "doing lots of a few things". Either is legitimate in retrospect.