4 ms·
The main thing missing in C++ to do functional programming, as mentioned by John Carmack in http://gamasutra.com/view/news/169296/Indepth_Functional_programming
by WalterBright 12y ago
The main thing missing in C++ to do functional programming, as mentioned by John Carmack in http://gamasutra.com/view/news/169296/Indepth_Functional_programming_in_C.php http://gamasutra.com/view/news/169296/Indepth_Functional_pro... is lack of a 'pure' keyword to enforce it.
Experience with the 'pure' keyword in D has been overwhelmingly positive.
- aikah 12y agoWell,why isnt D that popular? I wonder. edit: genuine question.
- kalekold 12y agoBecause C++ programmers are masochists?
- WalterBright 12y agoC++ is steadily adopting D features :-)
- daemin 12y agoDoesn't constexpr fill some of the purpose?
- WalterBright 12y agoYes, it does.