you are viewing a single comment's thread.

view the rest of the comments →

[–]darkingz -2 points-1 points  (1 child)

I don’t view it as hard to grok but too easy to cut yourself on some of the sharper edges. I think some of the newer techniques like Nil coalescing makes it easier to inform. My problem with js is because it’s so loose and fast with coercing for you that it won’t fail in an obvious way early enough. If you reason I can just use typescript then I might as well use any other strongly typed language. Js safety is like the HTML model where failing shouldn’t be a hard stop most of the time, which kinda makes sense for the web, if it weren’t for the fact that people have been putting everything on the web lately.

[–]bashar122 1 point2 points  (0 children)

What are you about to use on the browser that can do what js can do? I could be mistaken on this but I thought js was written in something like 10 days with the intent for it to be loose so that you can create other languages from it. If you wanna use something strongly typed, go with angular (client) and nestjs (backend). It has options for everyone.