4 ms·
> C++ is a grotesquerie more suitable for a carnival horror show than something you want to introduce to new programmers. I bought into this previously after h
by dmunoz 13y ago
> C++ is a grotesquerie more suitable for a carnival horror show than something you want to introduce to new programmers.
I bought into this previously after hearing it constantly repeated, but don't anymore. Your point about OOP is fair, but I think there is a sane subset of C++ that is incredibly useful for teaching new programmers. One thing to be avoided is needless OOP hierarchies. User-defined types are an incredibly powerful abstraction, and makes certain programming tasks look and feel extremely natural. If you listen to Stroustrup talk about C++, this is what he tends to highlights about C++, not the advanced features. Those can come later.
C++ has plenty of warts, and I dislike certain parts of it as much as its detractors, but C++ is still an awesome language.
- pjmlp 13y agoI think the same way. Nowadays I jump between JVM and .NET ecosystems. For me C was just one year transition between Turbo Pascal and C++, back in the mid-90's. Only used it for university assigments and on my first job. Otherwise when the option is reduced to C vs C++, I always pick C++. For me, C was too litle when comparing with what Turbo Pascal offered me. Luckly I discovered C++ shortly after learning C.