4 ms·
And yet code in Swift is much cleaner than anything in Javascript. I say that having mostly written Swift & Javascript at my jobs and on the side.
by hpen 5y ago
And yet code in Swift is much cleaner than anything in Javascript. I say that having mostly written Swift & Javascript at my jobs and on the side.
- philwelch 5y agoJS is a fairly low bar to compare other programming languages to.
- deleted 5y ago[deleted]
- igouy 5y agoAnd used by many, so useful to compare to?
- addicted 5y agoIt’s only used by many because it’s the only scripting language on the web browser, and not due to anything intrinsic to the language. So it’s popularity tells us nothing about the language, and more about the fact that it’s the only language on the most popular platform. So I’m not sure comparing any language to JS is useful to learn about the language.
- igouy 5y agoIt’s popularity tells us many people will be able to relate to that comparison.
- philwelch 5y agoIt's less useful when you realize that almost every other widely used programming language is better than JavaScript.
- hpen 5y agoThe point was to compare a "simpler" language