this post was submitted on 26 Aug 2023
38 points (97.5% liked)

Programming

17655 readers
216 users here now

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

Rules

  • Follow the programming.dev instance rules
  • Keep content related to programming in some way
  • If you're posting long videos try to add in some form of tldr for those who don't want to watch videos

Wormhole

Follow the wormhole through a path of communities [email protected]



founded 2 years ago
MODERATORS
38
NodeJS vs Go (self.programming)
submitted 1 year ago* (last edited 1 year ago) by Asudox to c/[email protected]
 

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.

you are viewing a single comment's thread
view the rest of the comments
[–] Solemarc 4 points 1 year ago

IMO the specific language doesn't matter here. Python has JiT compilers, AoT compilers, (proper) coroutine tools, front-end dev tools, everything you could need for dev work, that's why it's so popular, even if none of this is in the standard library.

On the other hand, if you want to learn JS or Go you could use them as well. Last time I checked Go doesn't really have any front end tools/frameworks though.

Of the two I think Go is easier to pick up. Also, if Python is your only exposure to programming, you might be surprised to learn that syntactically, Python is the weird one, not the other way around.