Dynamic vs Static Typing

Depends on usecase. If low-level, static all the way. The higher level you go or if you are prototyping shit, dynamic is better.

Have fun dealing with json outside of JS.

Dynamic typing is for niggerjeets

hong kong

heading there in a few days, will keep you updated

Dynamic typing isn't all done the JS/Python way. A better example is in Lisp: since you have dynamic typing, you can accept arguments of multiple types and deal with ways of handling bad combinations yourself. And certainly, most built-in functions are very strict about types being correct lest they throw errors.

The "+" operator, in a nutshell, is dynamic typing gone too far. Otherwise, it has its uses.

Hong Kong

powerful static typing > dynamic typing > half baked static typing (no HKTs or worse)

>Dynamic typing isn't all done the JS/Python way.
JS way and Python way are two completely different animals.

JS is dynamically, weakly typed, Python is dynamically, strongly typed. When it comes to operator overloading, JS way is 'typecast wildly and hope for the best', Python's is 'everything is an interface if you squint'.

Python is workable, but becomes a pain in large projects. JS is a pain, period.

static

Only non-programmers will find this funny