NodeJS vs Go

asudox@lemmy.world to Programming@programming.dev – 38 points –

I want to learn another programming language now that I've been using Python for over 2 years now. I am kind of leaning on learning JS so that I can use it for the backend and also for the frontend. But the syntax is kind of weird. I heard Go is pretty good for the backend and also is compiled. What do y'all say? I also welcome other language recommendations.

27

You are viewing a single comment

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.