News for hackers. Stuff that matters.
Re:Initialization in C++ is Seriously Bonkers by umvi on Saturday January 05, 2019 @08:13PM (#18835626)
C might be okay to learn for academic purposes but it's an absolute nightmare to use building real things.

Things like strings and pointers are nightmarish in C. Segfaults aplenty.

I've never encountered a segmentation fault since switching to modern C++. Just because you use C++ doesn't mean you have to use the entirety of it.

There are no comments on this comment yet.