Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

It's not a statically typed language. No one is claiming it is. It's a dynamic language with static types.


Nonsense.

If I need to keep using === because the type might actually be something different at runtime, it doesn't have static types.


It has static types because the compiler won't let you change a variable's type.

It's exactly as statically typed as C#. Both allow explicitly-declared dynamic variables, but they're disabled by default.

=== is incidental syntax required to maintain the goal of being a superset of JS.




Consider applying for YC's Summer 2026 batch! Applications are open till May 4

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: