News for hackers. Stuff that matters.
Re:Why does ++[[]][+[]]+[+[]] return the string "10"? by arp242 on Tuesday October 08, 2024 @12:19PM (#41779017)
You can have a C-like language without JS's typing ridiculousness. Many exist, such as Java. Blaming JS's special needs type system on Java and "marketing dollars" is a ridiculous take.

It was not in the original JS and added later on after someone asked/convinced Eich to do it (who quickly came to regret it, but by then "people were using it", and we're stuck with it today). He's talked about this a few times in interviews and talked about it on HN.

There are no comments on this comment yet.