4 ms·
JavaScript is indeed weakly typed, and is widely lampooned and criticized for it¹². But Python has strong typing, and has always had it. (Both JavaScript and
by teddyh 2y ago
JavaScript is indeed weakly typed, and is widely lampooned and criticized for it¹². But Python has strong typing, and has always had it.
(Both JavaScript and Python have dynamic typing; Python’s type declarations are a form of optional static type checking.)
Do not confuse these concepts.
1. <https://www.destroyallsoftware.com/talks/wat https://www.destroyallsoftware.com/talks/wat>
2. <https://eqeq.js.org/ https://eqeq.js.org/>
- deleted 2y ago[deleted]
- cubefox 2y agoAh, weak typing, a.k.a. implicit type conversions.