3 ms·
"I don't like C++ malloc'ing things behind my back. I see it as trading maintainability for instant gratification." I agree and I want to add that for a langua
by restalis 11y ago
"I don't like C++ malloc'ing things behind my back. I see it as trading maintainability for instant gratification."
I agree and I want to add that for a language "with a bias towards system programming" C++ makes strange assumptions about the memory. It assumes that there is only one kind of memory available for every operation (and it does its thing with that by default). Then it goes and further assumes that there is only one way (no finer further details whatsoever) of getting that one and only type memory. It's exactly the one boot fits all kind of thinking that Mr. Stroustrup suggests that C++ hasn't.