4 ms·
Consider this: JavaScript actually has a formal specification. Ruby and Python have no formal specification. I can tell you (with reference to the specificatio
by chrisseaton 6y ago
Consider this:
JavaScript actually has a formal specification. Ruby and Python have no formal specification. I can tell you (with reference to the specification) exactly what a JavaScript program does. JavaScript may seem wacky on the surface, but actually it's all worked out. Nobody can tell you what a Ruby or Python program does.
And you think JavaScript is the footgun?
- umvi 6y agoWell yes, in theory if all the developers read JS's formal specification JS would be better. But in practice developers just wing it without reading anything, and only go to read things when getting an unexpected result. And so we get the follow outcome - python behaves as expected in more cases than JS behaves as expected. "Theory is great in theory, but in practice, practice is better"