
What is JavaScript?
JavaScript is a programming language initially came as client side language for web browsers. It was created by Brendan Eich in 1995 and was only used to do browser based development back in those days.
In 1995 it was developed under the name Mocha then it was officially called LiveScript but again renamed as JavaScript by netscape and deployed in the Netscape Navigator 2.0.
Standardization :
Around November 1996, ECMA International came out with standardization for JavaScript and officially released as ECMA-262 standard in June 1997.
Other major standardization:
YEAR | Version |
---|---|
1997 (later) | ES1 |
” “ | Other development |
2009-10 | ES5 (Map, ForEach) |
2015 | ES6 |
2017 | ES7 |

WANT TO USE THIS INFOGRAPHIC, COPY THE CODE BELOW :
<p><strong>Please include attribution to csspoint101.com with this graphic.</strong><br /><br /><a href='http://csspoint101.com/javascript-vs-python/'><img src='http://csspoint101.com/wp-content/uploads/2020/01/Javascript-Timeline-min.png' alt='Javascript Timeline' 540px border='0' /></a></p>
Summary of JavaScript built-in primitive types :
Primitive types | Function |
---|---|
Boolean | True or false |
String | a list of words |
Undefined | undeclared variable |
Symbol | Unique value that’s not equal to any other value |
Int | Numbers without any decimal point |
Null | No value |
Float | Numbers with decimal point |
What is Python?
Python is much older language than we think . It was released by Guido Van Rossum in 1991 but gaining popularity now due machine learning and artificial intelligence hype . Python is an object-oriented programming language that supports functional programming .
Python do not use any keywords and curly brackets instead uses whitesapce indentation. The itself looks clean and uncluttered , it often uses English keywords where other programming language uses punctuation.
Core philosophy :
- Explicit is better than implicit.
- Simple is better than complex.
- The complex is better than complicated.
Python major releases :
YEAR | VERSION |
---|---|
Jan 1994 | Python 1.0 |
31 Dec 1997 | Python 1.5 |
22 Jun 2001 | Python 2.0.1 |
03 Dec 2008 | Python 3.0 |
13 Sep 2015 | Python 3.5 |
14 Oct 2019 | Python 3.8 |

WANT TO USE THIS INFOGRAPHIC, COPY THE CODE BELOW :
<p><strong>Please include attribution to csspoint101.com with this graphic.</strong><br /><br /><a href='http://csspoint101.com/javascript-vs-python/'><img src='http://csspoint101.com/wp-content/uploads/2020/01/Python-Timeline-min.png' alt='Python Timeline' 540px border='0' /></a></p>
Summary of Python 3 built-in types (Source Wikipedia) :
Type | Mutability | Description | Syntax example |
---|---|---|---|
bool | immutable | Boolean Value | True False |
bytearray | mutable | Sequence of Bytes | bytearray(b'Some ASCII') bytearray(b"Some ASCII") bytearray([119, 105, 107, 105]) |
bytes | immutable | Sequence of bytes | b'Some ASCII' b"Some ASCII" bytes([119, 105, 107, 105]) |
complex | immutable | Complex number with real and imaginary parts | 3+2.7j |
dict | mutable | Associative array (or dictionary) of key and value pairs; can contain mixed types (keys and values), keys must be a hashable type | {'key1': 1.0, 3: False} |
ellipsis | immutable | An ellipsis placeholder to be used as an index in NumPy arrays | ... Ellipsis |
float | immutable | Floating point number, system-defined precision | 3.1415927 |
More at : Python
Usage of both programming language :
Javascript usage :
- Web development
- Frontend development – Using frameworks and libraries like – React, Angular and Vue.
- Backend development – Using a framework like : Node.js
- App development
- Using frameworks and libraries like – React native , PhoneGap , Mobile Angular UI etc.
- Game development
- Using a framework like – Phaser Js etc
- Machine learning / Artificial intelligence
- Using a framework like – TensorFlow Js
- Desktop Application development
- Using a framework like – Electron Js
Python usage :
- Machine learning / Artificial intelligence
- Using a library like – TensorFlow Python , Keras Python , PyTorch
- Web development
- App development
- Using framework like – Kivy
Difference between JavaScript & Python
JavaScript | Python |
---|---|
Array is supported as built-in data in JavaScript | Python uses list and tuple instead of Array |
JavaScript uses curly brackets for defining code blocks | Python instead uses indentation for code blocks |
JavaScript is weakly-typed language ( implicit data type conversion possible) | Python is strongly-typed programming language( implicit data type conversion not possible) |
JavaScript uses Prototype-based inheritance model | Python uses class-based inheritance model |
JavaScript uses no concept of Mutability | Python data types are mutable(changeable) and immutable |
Pros & Cons :
JavaScript :
Pros | Cons |
---|---|
Usability : JavaScript could be used in ways like – web & App development etc | Framework Jumble : Every single day new framework comes out in javascript that makes hard for new developers to cope with |
Popularity : JavaScript is still growing very fast and becoming popular among developers | Browser Compatibility : Every browser interpret javaScript in different way which makes hard to write cross-browser code. |
Support : It has very vast community of developers for support | Inheritance : JavaScript does not support multiple inheritance |
Interoperability : JavaScript goes nicely with other programming languages | Server-side Security : Code gets executed on user’s computer that can be used for malicious purposes |
Update : ECMA international pulls out latest update annually with new features | Threading : JavaScript doesn’t have any multi-threading or multiprocessor capabilities |
Python :
Pros | Cons |
---|---|
Usabiltiy : Python can be used for web programming, machine learning etc | Slow : Comparing to other languages like- Java , c++ etc it is slower |
Good visualisations : Python is incredibly easy to read | Mobile development : Not suitable for mobile development |
Rich standard library : Python’s libraries feature a huge amount of pre-written code | Multi-core work : Not very great for multi-core work |
Huge demand : Python developer demand is growing rapidly due to rise of ML and AI . | Testing time : Testing time is more when it comes to python based web application |
Prototyping : Prototyping in Python is very fast and simple | Database access : Python’s database access layers are not yet developed |
Job Opportunity (JavaScript v/s Python) :
JavaScript :
JavaScript is everywhere on the web from Frontend to Backend and it is now moving to App development (thanks to – flutter and react native) which means more job opportunities to JavaScript developers.
And I think the future for Javascript is very bright because of TensorFlow, it can now even be used in the Machine learning world.
Without more bragging about Javascript use cases, what I am trying to say is that Javascript’s job opportunity is much likely to grow in the future. So I can say without much hesitation JavaScript is the one language that is very necessary to learn if you are in this developer world.

Salary :
Although salaries vary from place to place and it depends on many factors like – experience, knowledge, location, etc but What I can say is that JavaScript is used everywhere so the need for developers is high compared to other programming languages. And If you are skilled than you are likely to get paid well.
According to Glassdoor the average salary of javascript developer in United States is $ 79k and high is around $ 181K .

Source: Glassdoor
Python :
Python is a great language without any doubt, it is a flexible, fast and reliable language. It is one of the fastest-growing languages in 2020. apart from Machine learning and AI, it is also being used in web development widely.

Source: StackOverflow
Salary :
Python popularity is going to boom in the future for sure due to the increase in demand for ML and AI.
According to the demand, there are not much-skilled developers are available in the market for serving the need of companies.
So they will eventually pay more to the existing skilled developers because of the need.
More demand and less supply = Monopoly
According to GlassDoor the average salary of python developer in United States is $ 85k and high is around $ 123K .

Source : Glassdoor
Future of both programming language :
Although it is impossible to predict what is going to happen in the future in the world of programming language because things do change very quickly here so I am just telling about what I think and stats points out.
Here’s what I think – JavaScript and python both are great programming language according to there use cases . It totally depends upon the developer /programmer what they what to create . Isn’t so?
Programming languages are just tools to do things, they come and go. If you want to do web development (Frontend and Backend) go with javascript and if you are interested in machine learning and stuff go with python without giving a second thought.
I know javascript could be used for machine learning through TensorFlow and python for web development through frameworks like – Django and flask but why to go with second alternative if you are getting same thing at no extra cost.
Although according to statistics python is growing at tremendous rate than any other programming language.
That does not mean JavaScript is going to die . Rather than choosing programming language according to popularity and hype you should be looking at what you want accomplish by learning programming .
Thanks for reading my article ♦Also read artical about best chrome extensions .