JavaScript or Python?
I wrote a book on JavaScript and one on Python and one question people ask me all the time is, which one to start with?
They are both good for beginners and hugely popular.
What they differ in is, what you can do with them
They are both dynamic and general purpose programming languages, but JavaScript has the huge advantage of being the language that the browser knows, so it’s used in frontend development.
Python excels in applications for data science and machine learning, with many packages developed for this particular field, so you might simply decide based on this.
If your in doubt and you cannot decide, I would study the one that’s taught at your school or the language that’s used to build the things you want to build. Or used at the company you want to work for.
If you’re still in doubt let me pick for you. I would recommend JavaScript because I think it’s the one that is more flexible and the fact it can run inside the browser is a huge advantage.
→ I wrote 17 books to help you become a better developer:
- C Handbook
- Command Line Handbook
- CSS Handbook
- Express Handbook
- Git Cheat Sheet
- Go Handbook
- HTML Handbook
- JS Handbook
- Laravel Handbook
- Next.js Handbook
- Node.js Handbook
- PHP Handbook
- Python Handbook
- React Handbook
- SQL Handbook
- Svelte Handbook
- Swift Handbook
Also, JOIN MY CODING BOOTCAMP, an amazing cohort course that will be a huge step up in your coding career - covering React, Next.js - next edition February 2025