|
|
|
|
|
by namuol
3283 days ago
|
|
Pet-peeve from a Javascript Apologist: The `map(parseInt)` example is an obscure strawman that exists solely due to historical purposes; it's very difficult to change this sort of thing in a language because it would involve one of two things: 1. Change the API of `parseInt`, break everything 2. Change the API of `Array::map`, break everything If you want JS devs to respect your voice you may want to attack the more fundamental problems with the language, like its lack of type-safety, rather than the remnants of its "upbringing". |
|