HNHacker News
TopNewBestAskShowJobs

1897234234235

6 karma · joined May 16, 2018

submissionscomments
1897234234235··on JavaScript is Good, Actually
>Based on its own merits it’s a pretty average language with lots of design flaws.

I don't really judge a language based on the number of design flaws. That is like judging a computer based only on its specs.

>and most of its users never really got a chance to solve the same problems with a better language.

I don't really think there is such a thing as "better languages". Also your statement is probably true, and was said about php as well. It is only true though because it has the most number of people using it, so will have the highest percentage of casual programmers. As with php though, you also have very good programmers using it.

I am not really sure what the point of characterising the users is other than to subtitute for a lack of any arguments related to the language. But of course, the arguments on these topics are just a bunch of copy and paste from "list of reasons javascript sucks" articles. These just list design flaws like === and so on.

"My PC is better because it has 2GB more ram than the mac". etc....

>web assembly

Web Assembly is not supposed to remove javascript, it is supposed to be used in addition to it when you need high performance. If people try to promote it as a way to not have to use javascript, it will just result in a more fragmented client-side programming situation, where libraries are not available for particular languages, etc.

1897234234235··on JavaScript is Good, Actually
I think python is a terrible language. It has so little syntax you can't tell the difference between various things. A variable declaration, a reassignment, a keyword, a whatever else, they don't have any visual distinction from each other.

I also find that python has reserved a whole bunch of keywords that I can't use as function names, making APIs hard to create with appropriate names. You also have to pollute your code with self everywhere.

It is also really slow, has no where near the number of libraries on github as javascript, is not a client-side language, doesn't have anything like babel, which can allow you to do a lot more than reflection/introspection (but not the same things exactly), etc.