I found saying this to be important since one of the programming I really recommend learning is JavaScript due to its large usability in large scale projects.
Absolutely must learn first:
- Python
- JavaScript [Especially React]
- Golang
- C++
- HTML + CSS
Let me explain.
Python covers many areas from mathematics [like data science and calculus] to machine learning and other AI-related fields. These are only possible due to the extensive modules for python that are available due to the creative minds of solo Github producers to public corporations.
JavaScript is recommended because it also deals with mathematics but also a lot of UI/UX is not possible without even basic JS. In fact HTML has become mostly irrelevant to the creation of React, a product created by Meta in 2012. Its purpose was [and still is] to make website creation easy.
Golang is a programming language that has gained the spotlight due to it seeming like a mix of C++ and JavaScript since it's creation. Created by engineers at Google in 2007 for large codebases and fast compilation times it is used constantly as a standin for C++, Python, and Java. It outshown those programming languages in its light system requirements, quick compilation times, and easy-to-understand syntax, the three main reasons Go was created. Nowadays, as AI has grown in popularity, Go has become a powerful force to process the training data and testing environments for the AI models.
My choice for putting C++ 4th is a very similar reason to choosing Go. Despite C++ being a very very old programming language it still is used in development of many developed tools on any operating system. C++ isn't just versatile though, it is deep and quite difficult to pick up if you didn't learn Go and JS first.
Despite HTML not being an official programming language, both HTML and CSS come highly recommended for developers that work mainly in frontend development due to their use everywhere. Just because React exists doesn't mean HTML's counterpart, jsx, isn't used to style the webpage almost the exact same as HTML and the CSS styling needed adds the touch that is necessary for any functioning and appealing website.