News for hackers. Stuff that matters.
Re:Linus vs C++, again by tptacek on Thursday June 10, 2010 @07:38PM (#1422179)
That's a true and valid argument but beware that any C++ advocate could knock it down by saying "then the kernel code standard should reject things like that".
Re:Linus vs C++, again by varjag on Friday June 11, 2010 @07:04AM (#1423453)
And when you reject things like that you end up with C anyway.
Re:Linus vs C++, again by sanderjd on Friday June 11, 2010 @07:33PM (#1425133)
Meh, this is a straw-man. Conventionally rejecting overridden -> and () operators is a very long reach from ending up back at C. Disallowing operator overriding in general (as opposed to specific operators), namespaces, and classes would be much closer, and it still wouldn't be all that close to C (reinterpret_cast, templates...) There is a goodly sized amount of gray area between the two. Or did you mean your "things like that" to be much broader than my interpretation?