3 ms·
> I do think (possibly for the same reason) that it is harder to write correct C++ code than it is to write correct C code I'd disagree. Modern C++ has much be
by irhd 9y ago
> I do think (possibly for the same reason) that it is harder to write correct C++ code than it is to write correct C code
I'd disagree. Modern C++ has much better safety features than C ever has.
- userbinator 9y agoThe "safety" is not the issue, it's the compulsion of using many layers of (somewhat leaky) abstractions that make debugging and otherwise reasoning about behaviour difficult.
- pknopf 9y agoI could not agree with this more. gstreamer, gtk, etc, are really easy to work with and browse the source. This is why I love golang as well. Side note, it is funny how much gstreamer and glib try to add c++ "ish" features to c.
- baby 9y agoI was going to say +1 with golang, and you said it. So just emphasizing that many people prefer code clarity over cool things that make code unreadable (templates...) Interestingly, I just found Linus' stance on Golang :) https://www.realworldtech.com/forum/?curpostid=104302&threadid=104196 https://www.realworldtech.com/forum/?curpostid=104302&thread...
- smhenderson 9y agoFrom that post... But introducing a new language? It's hard. Give it a couple of decades, and see where it is then.