2 ms·
JS's typing is weaker than Python's, but Python still has a relatively weak type system - particularly in old-style classes as GP was showing (class foo(object)
by tsimionescu 4y ago
JS's typing is weaker than Python's, but Python still has a relatively weak type system - particularly in old-style classes as GP was showing (class foo(object)-style classes fix those problems, or at least some of them) EDIT: I was wrong about new-style classes fixing this. Other dynamic languages are stronger than both - for example Common Lisp.
- filmor 4y agoThere are no old-style classes in Python 3.
- tsimionescu 4y agoOops, you're right, and the problem isn't fixed by new-style classes. I must have misremembered something.