5 ms·
> Every language sucks. Every language [bla] Oh, another instance of "all languages are equal". No they are not. Some are better, some are worse. People who
by frowaway001 12y ago
> Every language sucks. Every language [bla]
Oh, another instance of "all languages are equal".
No they are not. Some are better, some are worse.
People who don't want to use JavaScript, try to avoid one of the worst languages out there.
That's all.
- pluma 12y agoI'm not saying all languages are equal. In fact, I have a pretty strong opinion when it comes to PHP (and the majority of core developers involved in it until Facebook decided to intervene). I thought JS was ridiculous crap when I first encountered it in the nineties. Then again, I still thought XHTML 2.0 was a brilliant idea well into the noughties. It took me a journey through PHP, Java, ActionScript (both 2 and 3) and Python (with a short visit to CoffeeScript) to rediscover it and fully appreciate what modern JavaScript has become and what beauty lies therein. I would love to hear a more detailed explanation of why you think JavaScript is unsalvageably bad, but so far all I hear are baseless assertions.
- CmonDev 12y agoSuch beauty: http://wtfjs.com http://wtfjs.com
- pluma 12y agoOh, come on now. Most of these are edge cases of passing in invalid data into functions that try to make sense of it, using discouraged functionality (e.g. not using strict-mode or using obscure parts of the language that are only supported for backwards-compatibility) and the rest shows just a complete lack of understanding of the language. One of the "WTFs" is `"true" == true` being false. Double-equals comparison being discouraged aside, the only language in which I would expect that to be true is PHP. Another is about `getElementById` -- that's not even about the language, it's about the DOM (which has WTFs of its own right and still would have them if you used a different language in the browser). If you want a good laugh about JS, I recommend Destroy All Software's infamous WAT talk (which also contains some Ruby).
- pkroll 12y agoAll languages are not equal, but "better" or "worse" depend on the opinion of the person asked much more than you're implying.
- frowaway001 12y agoNot all opinions are equal.
- pluma 12y agoTrue. Some are based on evidence. But you still haven't shown any and the only thing mentioned in this thread is a collection of "WTFs" that range from obscure facts (which you will find in pretty much any language that has been around for a while) and novices being astonished that the language doesn't always do what they think it would do because they treat it like a different language they already know (IOW being lazy).
- frowaway001 12y agoSome people are worth talking to, others are not.
- pluma 12y agoIndeed. Good day to you then.