Should I learn JavaScript or Python? And which one is Easier To Learn?

htmlweeb

Registered Member
Joined
Jul 4, 2020
Messages
77
Reaction score
23
Hey guys, right now, I'm trying to learn web development.

I'm still in CSS (responsive design). What programming should i learn between Javascript and Python? also, i noticed that Javascript does not perform automation.

I'm in a dilemma here, kindly help me out guys.
 
If you're trying to dive into web development, I think you should have basic knowledge about Javascript. I find Python easier than Javascript. :D For automation, I think Python is very easy. So many libraries that you can choose from.
 
I agree absolutely. Python is better (for me) but not for you interest.
If you're trying to dive into web development, I think you should have basic knowledge about Javascript. I find Python easier than Javascript. :D For automation, I think Python is very easy. So many libraries that you can choose from.
 
What kind of task do you want to automate?

---

The priority is to know the basics of programming in general. Conditions, loops, variables, functions, etc...

These basics are the same between javascript and python and many other languages. The only differences are the syntaxes specific to these languages (for example in python the code identation is mandatory whereas in javascript it is not).

So if you know how to use one, you will be able to learn the other one very easily, don't worry. You'll just have to accomodate with the syntax.

Translated with http://www.DeepL.com/Translator (free version)
 
What kind of task do you want to automate?

---

The priority is to know the basics of programming in general. Conditions, loops, variables, functions, etc...

These basics are the same between javascript and python and many other languages. The only differences are the syntaxes specific to these languages (for example in python the code identation is mandatory whereas in javascript it is not).

So if you know how to use one, you will be able to learn the other one very easily, don't worry. You'll just have to accomodate with the syntax.

Translated with www.DeepL.com/Translator (free version)

Thank you
 
If you're trying to dive into web development, I think you should have basic knowledge about Javascript. I find Python easier than Javascript. :D For automation, I think Python is very easy. So many libraries that you can choose from.

Thank you, guess i'll learn JS before moving to Python
 
I'm a Python fan so you can easily guess what I'll sugest.
You can use NodeJS for automation btw
 
Is it a must to learn OOP? also, can i learn OOP ( object oriented programming which just Ebooks?)
 
The priority is to know the basics of programming in general. Conditions, loops, variables, functions, etc...

These basics are the same between javascript and python and many other languages. The only differences are the syntaxes specific to these languages
This.

If you're already working with CSS, Javascript makes the most sense to start with. You're not limited to knowing only one language, so just pick one and get started. I know people who have been asking themselves for years, "which language should I start with?", and had they just picked one, they'd probably be proficient in both by now.
 
Learn that course that is in demand. People spend a lot on things they require.
 
Later in the stage, if you want to dive into Django (Python Web Framework) or Play with APIs, you might need little bit of javascript for making async calls with fetch API etc...
 
I suggest you start with Python (or a similarly simple syntax language) for the sole reason of learning how to reason from a programming perspective.

With Python you can easily script something and see the results and you don't have to worry too much about syntax, which at the start could be a real pain.

Once you understand why something has to be done in a certain way, then you can move to JS.

If I were to teach coding, or guide somebody on how to start, this is how I would do it.
 
I started out with python for several years for automation of BH stuff and recommend that as the easiest to get into and yet still fully functional and powerful.

However over the years time and again I ran into javascript on webpages I was trying to automate and so in the last year have been pushing myself to learn javascript; only basic stuff to have some idea of what is going on on page when I want to understand certain code sections when looking at backwards engineering the requests as well as just navigating in the browser dev console.

From the getgo for you I would suggest 80% python 20% js. If you are looking to automate anything which interacts with webpages then basic understanding of js is really essential.
 
for web site development - javascript
for automation - python
 
Back
Top