3 ms·
Interesting project, good luck with it! Can you elaborate how you were spoiled by Go and don't want to go back to writing PHP?
by ValtteriL 4y ago
Interesting project, good luck with it!
Can you elaborate how you were spoiled by Go and don't want to go back to writing PHP?
- matthewmueller 4y agoSure, it's actually been a long journey since PHP. I switched from PHP to Node about 11 years ago. I was probably one of the first 100 Node.js developers. My biggest contribution there was creating https://github.com/cheeriojs/cheerio https://github.com/cheeriojs/cheerio. Go spoils me because it "just works". The best way I can explain it is when I'm stuck on something in Go, it's almost always my bad, not something that Go is doing poorly. This is in contrast to the Node.js ecosystem where it feels like half of the problems I run into shouldn't be my responsibility. I strongly relate to this post by Kevin Burke: https://kevin.burke.dev/kevin/one-year-of-node-js/ https://kevin.burke.dev/kevin/one-year-of-node-js/. A lot has improved since this was written. We're finally over the ES Module vs CommonJS hump, Typescript has become the defacto standard, Babel is less used now and Webpack is effectively abstracted away. I still run into way too many problems with the ecosystem and the transition to Rust will make the ecosystem more complicated, not less. My transition from Node.js to Go happened because I was working solo on https://standupjack.com/ https://standupjack.com/ and I kept running into issues with the message broker. It was using the most popular RabbitMQ client for Node, yet it was still super flaky. About 6 years ago, I was chatting with TJ Holowaychuk and he kept singing Go's praises. One holiday I decided to rewrite just the message broker in Go. I got it into production in 3 days and didn't have anymore problems with it. That set me on the Go journey :)