38
NodeJS vs Go
(lemmy.world)
Welcome to the main community in programming.dev! Feel free to post anything relating to programming here!
Cross posting is strongly encouraged in the instance. If you feel your post or another person's post makes sense in another community cross post into it.
Hope you enjoy the instance!
Rules
Follow the wormhole through a path of communities !webdev@programming.dev
Yeah, I was thinking of using TS anyways. I saw some video that showed how weird JS handles stuff when you try to add two things and such. I also want to make it a habit to type everything anyways. By the way, do I have to learn some more stuff if I want to use TS or is it just that it forces you to use types?
There's a bit of fiddling with configuration and using npm, but it's not much overhead. There's plenty of tsconfig settings to customize the process for your need, but most the defaults are quite sane.
I see, then it won't be a problem after I learn JS.
Well, TS is just JS with strong typing and type annotations. It's almost the same language, just adding guard-rails and safety checks that the base language doesn't have.