Hacker News new | ask | show | jobs
by lucidguppy 3438 days ago
The argument is that learning C before C++ teaches you how to program C++ wrong. Nothing more, nothing less.

I wasn't judging C++ as a beginner language. I wasn't judging C either.

2 comments

IMHO "wrong" being mostly the opinion of the evangelists who think C++ is a completely different language, and have been trying to push it in that direction, but it's still mostly C at the core with a thick layer of abstraction/indirection on top. Don't believe all the hype. "Climbing the ladder of abstraction" is the best way to learn how everything works.
I disagree with this part: "learning C before C++ teaches you how to program C++ wrong".

IMO the problem isn't so much about learning C or not. It's about which other languages do you learn alongside it.

You need to practice in a language that encourages OOP and a little bit of functional programming, like JS or Ruby.

If you know Ruby and C already, using C++ well will be much easier :)