7 ms·
His articles about C vs C++ are also interesting http://250bpm.com/blog:4 http://250bpm.com/blog:4 http://250bpm.com/blog:8 http://250bpm.com/blog:8
by agumonkey 11y ago
His articles about C vs C++ are also interesting
http://250bpm.com/blog:4 http://250bpm.com/blog:4
http://250bpm.com/blog:8 http://250bpm.com/blog:8
- albinofrenchy 11y agoHe seems to be throwing the baby out with the bath water here a bit. Exceptions are a failure and a bit of a mine field in C++; I have no arguments there but you also don't need to use them. The list example is a bit contrived too. A simple templated class for the list node could give both encapsulation and the exact same speed and allocation characteristics as the C code.
- agumonkey 11y agoYeah, I should have mentioned to read the comments, lots of good points raised there to balance things.