What’s the best programming language for beginners to start with?
This is one of the most common questions that beginners ask. So what do you do (as a beginner) when this question pops up in your mind?
You go search on Google, you ask on forums and ask friends and acquaintances who already know how to code.
What answer do you usually get?
Each of them proposes their favorite language to start with. Or the one they started with.
This makes you even more confused because you don’t get the same answer from everyone. So who’s right?
Everyone and nobody. :)
Every (major) programming language could (eventually) get you a job. Also, when you’re a professional programmer, you have to deal with many different programming languages. No one knows and works with just one.
So instead of learning a programming language, you should learn programming concepts. The concepts and fundamentals that are shared across all (or most) of the programming languages. When you learn these fundamentals, it will become easier to switch between different languages.
Okay, but then we arrive at the next question:
Which language is the best to learn these (general) fundamentals with?
My opinion: start with Python.
Why? Mainly because of its simple and clean syntax.
But why not HTML & CSS?
HTML & CSS are great languages to start coding with, but they are not programming languages. HTML is a markup language, and CSS is a styling language. Nevertheless, they are a great way of getting familiar with how writing code looks like, and I’d encourage you to learn HTML&CSS.
But when you want to learn how to program, start with Python.