Hacker News new | past | comments | ask | show | jobs | submit login

This is the sort of thing that pushed me away from C++ a couple of decades ago. I remain perplexed that the "solutions" to C++'s "problems" have largely been to continue overcomplicating the language.



Smart pointers overcomplicated more than auto_ptr? Default ctors are an overcomplication? Optionals worse than void pointers, variants worse than unions?


Well now you have both. So yes, strictly worse from a language complexity perspective because now there are two options to choose from, and a significant, nonzero fraction of developers are going to choose the “wrong” option, and leave me to fix their bugs. Hell I even choose the wrong option half the time.


Literally nothing in the article, except `const`, existed "a couple decades ago".


“The sort of thing”.




Consider applying for YC's Fall 2025 batch! Applications are open till Aug 4

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: