|
|
|
|
|
by gargantuan
4605 days ago
|
|
> If you come from a static language background and you keep expecting a type-checker will save you from doing silly things like adding arrays to strings, you're always going to hate Javascript. Hmm funny I come from a dynamic language background and never had a problem with the language telling me adding an empty list to an empty list should somehow be empty string. That is batshit crazy. Those are not silly things those are basic 101 strong type system checks that very dynamics languages like Ruby and Python can do. |
|
As you move beyond native types, duck-typing (like in python) completely subverts the strong type-checks anyway.