r/ProgrammerHumor • • Mar 20 '24

Meme areJSDevsActuallySane

Post image
14k Upvotes

554 comments sorted by

View all comments

Show parent comment

0

u/Eva-Rosalene Mar 21 '24

Don't get me wrong - JS spec has a plenty of bad decisions. Most of them are there because it's both weakly and dymanically typed, but there are also things like ASI or defining document.all to be falsy.

But hear me out - it still provides pretty good developer experience with modern tooling and as long as you use TypeScript (it is different language, yes, but at the same time it's just JS with types: you can use it whenever you can use JS and you don't need to learn any new concepts). Developing in JS was shitty back at 00's and in early 10's, but is pretty much great today. Most of its design flows are covered if you use right tools.

0

u/Quito246 Mar 21 '24

Okay so you have to really on 3rd party tools to fix issues that should not even exist in any well designed language in first place. Guess what in C# all tools and linters I need is Roslyn aka compiler, which will never let you do such stupid stuff with random type casts etc. Just admit it what I say is a fact and that is the JS is poorly designed language…

1

u/Eva-Rosalene Mar 21 '24

Okay so you have to really on 3rd party tools

How is that even relevant? What is the difference between using tsc, a scary third-party tool vs using Roslyn (a blessed native tool), huh?

Just admit it what I say is a fact and that is the JS is poorly designed language…

JS has its share of bad design choices. It's still a great language.

1

u/Quito246 Mar 21 '24

Yeah sure “great” language thats why they had to create TS to even make JS possible. If they spend more than week designing language and have it at least strongly typed and not having those shitty random type casts then yeah it could be fine. For example python is much better language because it is also dynamically typed but at least it will not do such shitty things.

1

u/Eva-Rosalene Mar 21 '24

What's your point? Modern JS/TS is great. Old vanilla JS is worse.

1

u/Quito246 Mar 21 '24

My point is JS is shit language compared to other languages. Simple as that.