2 ms·
Linus Torvalds would disagree that C and C++ are the same language as suggested by "C/C++" and by the singular pronoun that follows. One can easily program as
by danieldk 14y ago
Linus Torvalds would disagree that C and C++ are the same language as suggested by "C/C++" and by the singular pronoun that follows.
One can easily program as if it were C, using templates to avoid ugly macro mess for generic algorithms and types.
Edit: corrected is -> as.
- lutusp 14y ago> One can easily program is if [sic] it were C, using templates to avoid ugly macro mess for generic algorithms and types. Did you mean "as if"? If so, that's exactly what Torvalds objects to -- the things about C++ that supposedly represent improvements over C. He goes on about how many of the conveniences of C++ -- like the STL -- aren't as wrung out as most people think and don't actually work as intended. I don't necessarily agree with his position in all respects, but some of the enhancements in C++, aren't actually enhancements.