4 ms·
This would have made a good addition to the (in)famous WAT talk: https://www.destroyallsoftware.com/talks/wat https://www.destroyallsoftware.com/talks/wat
by paol 2y ago
This would have made a good addition to the (in)famous WAT talk:
https://www.destroyallsoftware.com/talks/wat https://www.destroyallsoftware.com/talks/wat
- keybored 2y agoThe WAT talk lives in fame, not infamy.
- Sohcahtoa82 2y agoI wouldn't mind JS as much if its type system wasn't an utter disaster. Basically everything in that WAT talk should be an error. If your code is throwing type errors, then either it's shitty code or you're trusting non-validated input, in which case you should be able to catch the type error and return an error back to whoever sent you the data.