3 ms·
I really think we should stop pushing things like that or the wat talk (https://www.destroyallsoftware.com/talks/wat https://www.destroyallsoftware.com/talks/wa
by Zababa 5y ago
I really think we should stop pushing things like that or the wat talk (https://www.destroyallsoftware.com/talks/wat https://www.destroyallsoftware.com/talks/wat). Sure it's funny and all, but it's not helping people understand. We're presenting Javascript as some kind of stupid black magic tool, which is not. You can very easily find the standard online, and go through the examples to understand. Sure it's unintuitive, I agree, but lots of things in programming are unintuitive, and when you can't change them you have to learn them.
- snet0 5y agoI don't even think it is unintuitive. There are very few things here (if any) that make no sense, and a few are literally just basic understanding of floating point spec. And then of course a few questions are basically obfuscated-C levels of code, where you won't get the answer correct unless you get your pen and paper out. I'd argue that if you don't know about type coercion in JS, you don't really know JS. It's a feature; none of these operators will throw; it's a conscious design choice.