News for hackers. Stuff that matters.
Re:How to start a Go project in 2023 by 0zemp2c on Tuesday May 23, 2023 @02:39PM (#36048857)
HN loves playing "obligatory contrarian" so often commenters will go to lengths to find faults

there is nothing wrong with Go; it delivers on its promise, you don't need to be a genius to use it, has good community support, and you can get access to a large and decent job market

Rust is a great tool but isn't as purpose-suited to network services as Go

Zig is even less purpose-suited to writing network services and won't be at Go's level of maturity for years, if ever

If a backend dev could only know one language in 2023, it would be hard to go wrong with Go

Re:How to start a Go project in 2023 by shakow on Tuesday May 23, 2023 @04:07PM (#36050156)
> but isn't as purpose-suited to network services as Go

Why?

Re:How to start a Go project in 2023 by sapiogram on Tuesday May 23, 2023 @04:21PM (#36050328)
+1. In terms of development speed, Node + Axios is lightyears ahead. It's like 5 lines of code to send a JSON payload via http, vs 15+ in Go. The Javascript version is much likely to be correct as well, since it doesn't let you forget to check any of the three errors, or forget to check the http status of the response.
Re:How to start a Go project in 2023 by WA on Wednesday May 24, 2023 @03:30AM (#36055115)
If I mostly use TypeScript for the backend, what would be a benefit of Go to make me switch?