Im neutral since i dont really use either but i would like to hear your opinion on each...
To start off the discussion here are a few points about both languages
Javascript
Cons
- Callback hell
- Weak typing
- Ecosystem is filled with tons of low quality libraries
Pros
- Pretty fast, V8 engine has very good optimizations
- THE standard for running code on browsers
- Has many transpilers (typescript, elm, etc) that fix some of its problems
Python
Cons
- Becomes very hard to read with lots of nesting (because no {} )
- Global interpreter lock can be a huge performance hit
- Default library is extremely bloated
Pros
- Strong typing
- Has typings unlike javascript (although they are purely cosmetic they help with documenting how a function works and help static analysis tools)
- Overall very readable, sometimes almost like writing english
To start off the discussion here are a few points about both languages
Javascript
Cons
- Callback hell
- Weak typing
- Ecosystem is filled with tons of low quality libraries
Pros
- Pretty fast, V8 engine has very good optimizations
- THE standard for running code on browsers
- Has many transpilers (typescript, elm, etc) that fix some of its problems
Python
Cons
- Becomes very hard to read with lots of nesting (because no {} )
- Global interpreter lock can be a huge performance hit
- Default library is extremely bloated
Pros
- Strong typing
- Has typings unlike javascript (although they are purely cosmetic they help with documenting how a function works and help static analysis tools)
- Overall very readable, sometimes almost like writing english
