3 ms·
They do, JavaScript is just the worst offender. Python has the dynamic typing problems, but is better because it has a somewhat strong type system. It will tel
by carlmr 9y ago
They do, JavaScript is just the worst offender.
Python has the dynamic typing problems, but is better because it has a somewhat strong type system. It will tell you when it's wrong, but often too late (oh this function only gets called wrong once every 100h on my server, thank you for telling me now that it went wrong). And sometimes different types can duck into the same function (e.g. string and list are both iterable).
So yeah, Python suffers from the same issues when you want to scale your code, but it's A LOT less bad than JavaScript.