r/javascript • • Aug 03 '21

JavaScript vs Python: Which is a Better Programming Language?

https://thecompetenza.com/python-vs-javascript/
0 Upvotes

3 comments sorted by

8

u/oneandmillionvoices Aug 03 '21

Python has a simple syntax with no curly brackets and it has fewer lines of code. While JavaScript has lots of brackets, complex syntax & concepts, and more lines of code. That’s the reason, python-based applications are comparatively easy to debug than JavaScript.

you can't be serious....

5

u/jetsamrover Aug 03 '21

It's like a report assigned to a freshman university student who doesn't know how to write and procrastinated until the last minute.

1

u/[deleted] Aug 09 '21

For anyone that likes both. I have a lib that lets you use DOM and js methods in python. https://github.com/byteface/domonic

pip install domonic

from domonic.javascript import *
from domonic.dom import *

It's useful for porting and other things. It's still in dev but already useful.