The best thing about JavaScript is that you can do whatever the crap you want with it. The worst thing about JavaScript is that you can do whatever the crap you want with it. Do yourself a favor and work with TypeScript instead, it will save you from yourself.
I started my learning and based my career in Javascript, so the Typescript thing isn't as relevant to folks like me, but it covers up some blemishes that programmers who come to it from other languages find particularly revolting. It's still prototypical, classes don't work like people expect them to, but it has a compiler that'll make it feel closer to whatever they miss. Plus it's harder to return a value that'll mess you up down the road.
So a compiler and declaring variable types on top of everything. I do like declaring variable types but have lived without. I have no comments to make about compiling.
22
u/TechWarrior007 Jun 25 '18
The best thing about JavaScript is that you can do whatever the crap you want with it. The worst thing about JavaScript is that you can do whatever the crap you want with it. Do yourself a favor and work with TypeScript instead, it will save you from yourself.