Ask HN: Which programming language to learn in AI era?
Hi. I'm in my 40s, relocated to a new country. I am thinking of changing my career and learn a new programming language to get a job . I've always had a passion for technology and something useful I can develop with it. AI is changing the IT landscape and the way people build software. At this time I'm not sure which language I should start with. Should I choose React.js, Python, or is there something else that's trending? Any courses, youtube channels, recommendations are welcome
22 comments
[ 3.2 ms ] story [ 53.0 ms ] threadReact is just a framework. Learn vanilla JS instead.
I learned from w3schools.com but there are better resources now. MDN is generally a better resource https://developer.mozilla.org/en-US/docs/Learn/JavaScript
I also know that Harvard offers some CS courses for free online - https://pll.harvard.edu/course/cs50s-web-programming-python-...
- It is already possible to run LLMs and langchain.js directly in the browser. The web is the dev environment if you code JS.
I think it has fundamental DX benefits over python for complex prompt chaining (or I wouldn't be building it!) Even still -- if their focus is purely on AI, python is still the better choice starting from scratch. The python AI ecosystem has many more libraries, stack overflow answers, tutorials, etc available.
Then learn TypeScript.
Instead of learning React, focus on building websites (learn SSR, CSR, etc). Become familiar with different techniques for it.
Will you learn Python in the process of learning to build websites? Probably. Is it necessary? Nope.
Start with one that aligns with your goals and explore from there!
In any case JS/Typescript or Python are safe choices. If you want to learn more data-science/AI stuff then Python would be a good choice. For front-end or full-stack web (as in front-end and back-end) JS would be a good choice.
Another choice is Go - if you think you are likely to go into a devops type role and want to understand Kubernetes, Docker, Terraform, etc. more closely.
Other decent choices for finding work are C# and Java.