I use now Go for most of my projects. When I started, I was wondering why I shouldn't just use Python. After a while, something just clicked, and now I love it.
Nothing needs to be done in Go, so if you'd rather, you can something else.
What can you do with Go but not Node?
Build executables. Go is a compiled language, so it's very fast.
Statically typed (although I think Node supports TS now?).
VERY useful error messages. It basically only lets you run your code if it has no errors.
Simplicity. Although this can also be a downside, because you have to do a ton yourself.
The packaging system. go.mod is complex, but once you get the hang of it, it's an absolute pleasure.
Go saves your dependencies. Instead of having 40 node_modules directories, you have one ~/go directory that holds all of your dependencies, and you can use them across different projects.
Concurrency.
Side note: The creator of Node switched to Go. Then Rust. Then made Deno.
Hope it helps :)
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
I use now Go for most of my projects. When I started, I was wondering why I shouldn't just use Python. After a while, something just clicked, and now I love it.
Nothing needs to be done in Go, so if you'd rather, you can something else.
What can you do with Go but not Node?
go.modis complex, but once you get the hang of it, it's an absolute pleasure.node_modulesdirectories, you have one~/godirectory that holds all of your dependencies, and you can use them across different projects.Side note: The creator of Node switched to Go. Then Rust. Then made Deno.
Hope it helps :)