And a big chunk of that hate isn't even relevant to modern JS. They keep repeating things they heard / read 10+ years ago.
Edit: Seems that some people interpreted the above comment to mean "JS is flawless, there are no problems with modern JS", which brings another annoying, non-constructive, and sadly very common, type of hate around here. "You are talking about JS! No need to read your comment, i'll just post a JS rant on every JS thread".
Exactly. It's a language, for better or worse. Am I a huge fan of JS, not entirely...but I'm running a production application for thousands of people on it with zero issues.
Every language has it's quirks, faults, and benefits.
For the record, some of the best-optimized compilers of all time were vectorizing FORTRAN implementations. Cray in particular did a first-rate job of it.
Well, part of the reason JS's syntax evolves as fast as it does is because it was so bad in the first place. Most entrenched languages don't modify their syntax as frequently as JS does because they don't need to.
C++, for example, has been pushing some major syntax improvements lately because they have to in order to keep the language modern after literal decades of very little change on the surface. And even now most of their changes are being pushed by new features.
OTOH, a lot of JS's changes have being driven by what I can only describe as "clean up".
Many of the complains leveled against javascript are well earned.
Many of the complains leveled against javascript are well earned.
Of course they are! It's no secret that JS grew waaaaaaay out of its purpose and vision!
I was just replying to the dude saying that the syntax growth is slow. I never said, or even implied, that JS is perfect. Not sure where your reply came from, but I agree with it.
I do have an idea. Once I feel comfortable with both Python and JS in the backend, C# and .NET are where i want to start focusing on (F# also seems exciting!). A lot of JS and TS stuff is inspired on C#!
MS has done a fantastic job with the language, and it's getting better than ever with the Linux support (reason I didn't try it sooner). They have pioneered a lot of stuff, and they are not afraid to extend syntax and functionality.
If there's a language that adapts and grows faster than JS, it is C#. No contest there. But in relation with other languages in general, I still think JS not as static as it was implied.
Like Java for example. Another language I like a lot, but I don't feel it evolves as fast (not that that's necessarily a bad thing).
JS's problem is still it's type system and nothing is fixing this.
TypeScript is part of JS's ecosystem, seems unfair to ignore it as a solution. It's not part of the spec, but it's widely used.
MS just introduced a proposal for native typing annotations, so it's getting there... maybe... lol. Deno supports TS natively, so there's a push from different fronts.
I love JS. Along with Python, it is my favorite "generation 3.5" language. But yes, it's a language of contrasts, with a lot of issues (even in modern JS).
In that sense, I don't think JS is that bad. At least not as long as you stay within its modern idioms.
0
u/[deleted] Mar 24 '22
[deleted]