Which Programming Language Should I Learn First?
This is an excellent question, and a common one as well. The first thing to note about learning how to program is that learning programming languages is very different than learning spoken languages. If you've learned Spanish and now you'd like to learn Japanese, you'll have to start again from scratch. But with computer languages, you are not learning a particular language as much as you are learning how to talk to a computer. There are general programming paradigms that hold true across all computer languages. So the skills that you pick up while learning one computer language easily transfer to virtually all other computer languages.
Now that we've determined that all languages are fine choices, what should really drive your decision is which language will be easiest to learn. This may actually depend on external factors more so than inherent features of a particular language. Let's say, for example, that Python was inherently easier to learn than C++. However, you may have found that there's a C++ course in your area. You'd probably be better off going to the C++ course, as it's generally easier to learn in a classroom setting than it is to learn on your own.
Let's now assume that you'll be learning on your own or that all external factors are equal. The key factor to take into account is which language will provide the easiest learning curve. You don't want to quit learning to code just because the syntax of your chosen language is particularly mind bending. If possible, you also want to choose a language that might have some inherent motivating factors built into it.
There are actually couple of great options to choose from. If you are interested in getting your feet wet and learning what programming is all about, Ruby makes for a great first language. Ruby was specifically designed to be intuitive to use and resemble English as much as possible. Python shares many similarities with Ruby and is another excellent choice.
However, the drawback with languages like Ruby and Python is that it's difficult to build real things with them unless you use them in conjunction with more advanced technologies like Rails or Django, and learning those as well may be a bit much if you are brand new to programming.
Therefore, another excellent option is learning HTML, CSS, and JavaScript, which are all used together to create websites. HTML and CSS aren't even programming languages as much as they are simple snippets of syntax that define what elements go on your webpage and how they will appear. JavaScript is the language that provides for actual page functionality (e.g. if you click on a button, something will happen), and is the real programming language that you'd be focusing on. JavaScript is also a relatively easy language to learn. What's great about this option is that it's very motivating to build real things and show off your work to others.
There are many excellent resources out there for most programming languages. Simply Google the name of the language and words like âtutorial' and âbeginner', and you'll quickly find many high quality resources.
Get Expert Advice
The Actualize Blog is where you can get expert advice and insights for learning to code from our CEO, Jay Wengrow. Subscribe to the Actualize Blog and get notified each time we publish a new article.