5 ms·
That's a silly complaint. Doesn't every language designer feel that their product is better than the thing it desires to replace?
by MatthewPhillips 13y ago
That's a silly complaint. Doesn't every language designer feel that their product is better than the thing it desires to replace?
- readme 13y agoA better question: Is python really any better than JavaScript? Sure, it has advantages here and there. But there are things I like about JavaScript that are better than python. For example, having anonymous functions that are more than a single expression inside a lambda. Yes, I know you can declare a function inside another and you get a closure. But, JavaScript's syntax is just nicer.
- kyrias 13y agoObligatory https://www.destroyallsoftware.com/talks/wat https://www.destroyallsoftware.com/talks/wat
- jMyles 13y agoWow. I had never seen that. There are literally tears streaming down my face I was laughing so hard.
- sesqu 13y agoI enjoyed it more this time than I did when I last saw it, perhaps because I was more familiar with the showcased peculiarities last time (the theme is garbage in, garbage out).
- obstacle1 13y agoJavaScript's syntax being 'nicer' seems pretty subjective.
- StavrosK 13y agoIn all my Python years, I have never needed to write a long anonymous function. I consider it a bit of a code smell. This isn't to say it's wrong to do in JS, just that the patterns in Python are different so you don't use this in practice.