logoalt Hacker News

teddyh04/03/20252 repliesview on HN

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>

2. <https://eqeq.js.org/>


Replies

cubefox04/04/2025

Ah, weak typing, a.k.a. implicit type conversions.