Hacker News new | past | comments | ask | show | jobs | submit login

Such blatant misuse of the language in these examples. Not sure what to think. It seems like the author has a good understanding of JS, but then goes out of the way to purposefully misrepresent things to construct strawmen simply to then tear them down. If someone comes across this without being familiar with JS, they could very easily be misled.

As a comparison, how many WTF C++ examples could be constructed if people misused arrays, pointers, bitwise comparators, oeprator overloads, templates, etc... to create nonsensical operations?




There is plenty of verbiage at the top explaining the motivation (some of it even under a big heading 'Motivation').

These aren't misrepresentations (let alone 'strawmen', whatever that might mean in this context) and there is no 'tearing down' at all, just links to explanations.


You might trip on one of these misfeatures when a variable doesn't contain what you think it does. Or when you make a typo. In those cases, you're generally grateful for a strongly-typed language or a strict compiler.




Join us for AI Startup School this June 16-17 in San Francisco!

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

Search: