News for hackers. Stuff that matters.
Re:Ask HN: Anyone here switch to Go for building (REST) APIs? by antholeole on Wednesday August 17, 2022 @08:24AM (#32495304)
I went from Python to Rust to Go. Python I won’t spend long on, it’s problems are well documented. Rust, which I use wherever possible, just is not the right language for apis for me. Adding dependency injection through Boxed traits feels like you’re taking a performance hit just so you can test code. Also, I spent a couple hours on trying to get async traits to work with a mocking lib and gave up. Switched to Golang. It’s not without issues but for now I’m productive.

There are no comments on this comment yet.