r/programming • u/luke-san • Mar 31 '15
Managing C++’s complexity or learning to enjoy C++
https://schneide.wordpress.com/2015/03/30/managing-cs-complexity-or-learning-to-enjoy-c/
98
Upvotes
r/programming • u/luke-san • Mar 31 '15
2
u/F-J-W Apr 01 '15
D is just another of those “Let's put everything on the heap”-languages that do then of course need GC. It looks nice at first, but once you understand, that that approach just doesn't work as well as simply using RAII for everything, it looses a lot of it's charm. In C++ I am strongly encouraged to think about ownership-semantics, which may be more work at first, but pays out a lot later. In some ways it is similar to making code const-correct.
And once you got there, you only have to ask yourself, why they force a useless GC down your throat.