Tom Ritchford
1 min readMay 28, 2022

--

Ouch, right out of the box!

I've spent a plurality of my 35 years in the industry writing C or C++, I love them, but they are a truly terrible language for beginners because they are compiled, because you have to do your own memory management, because many aspects are frankly baroque and obscure.

Java is only s slightly less bad for beginners, but it's also a very corporate language - 90%+ of the jobs are in huge monolithic programs. A fine language, not good for beginners.

Javascript is the most widely used programming language in history. The actual language itself is very small. Yes, that smallness means it's easy to write bad code, yes, the object model is sort of broken, but still, you can't go wrong learning Javascript. Keep that part of the advice.

I personally would recommend Python for a beginner. Writing tiny toy command line programs is incredibly easy in Python, but both the language itself and the standard library are more full-featured than JS, and naturally teach you good programming practices. More, you can use it for absolutely everything, from scientific computing to building websites to controlling hardware.

But not Java and particularly, not C or C++. This is 2022, not 1982.

--

--

Responses (3)