Re:} // good to go
by jacquesm on Friday January 01, 2016 @04:41AM
(#10821502)
C++ would be a terrible choice as a first language.
[ Parent
| on HN ]
On the other hand if you don't do C++ first, you inevitably become pretty turned off by it once you try it. It has some neat qualities in the small (zero cost abstractions etc) but in the large with package/module management it's a horrible experience if you are used to Java/C#/Python/Python or even Node. I have a hard time picking up C++ because I'm
spoiled by other languages.
C++ has plenty of good sides (I've been using it since 'cfront', which makes me wonder who would downvote my comment that it isn't a good first language, I think I have enough experience in it (and other languages) by now to make that call), but the learning curve is extremely steep compared to say python.
Which makes me wonder what the very best beginners programming language is.
For a first lamguage I think kids should use something instantly rewarding. Something that lets you write gui:s or hack minecraft etc. It should be something that lets you accomplish things quickly but still teaches good practices.
If you are a first year CS student it's different. Then you need a few langs - One functional, one OO, one low level, at least.
I did Haskell/Java/C which I think was great, but 20 years later I'd choose F#/C#/C (or even Rust).