Why did I switch from Node.js to Golang after 5 years?
Published on

Why did I switch from Node.js to Golang after 5 years?

A story about switching from Node.js to Golang after 5 years. Why I made the switch and what I like about it.
Authors

Hi there!

For a long time, I was a Node.js developer. I loved it. It was easy to learn, and I built some cool stuff with it.

I was slightly anoyed by all these things like commonjs vs esm, typescript vs javascript, but I could deal with it. I have been using it for a long time, and I was good at it.

I knew the history behind these choices, and I understood the reasons why things were the way they were.

I tasted Rust, Java, Clojure, and some others, but then I discovered Go. Back in university, my friends kept telling me how Golang was good, but I was busy with the JavaScript ecosystem.

I was amazed by how easy it was to learn, and how much I could accomplish with it. I only use standard libraries and I can build complex apps with it. Goroutines are a game changer. I can do parallel programming without thinking about it. Mutex, channels, buffered channels, select statements, I can do them all without thinking about it.

I know other languages also have similar or same features, but Go makes it so easy to use them for me. So, I can focus on building stuff.

Reach out to me on Twitter if you have any questions or comments.