Hacker News new | ask | show | jobs
by jasonwatkinspdx 2848 days ago
> A bunch of pioneer project like docker, kubernetes, etcd, prometheus etc. has been built with go and I don't believe that the maintainers suffered lack of generics and error handlers.

Here's an experience report from k8s: https://medium.com/@arschles/go-experience-report-generics-i...

They've been using a code generator as a work around: https://github.com/google/gvisor/tree/master/tools/go_generi...

1 comments

I think code generators are a better path than having the compiler generator the code for you. It's nice to look and see what is about to be built instead of waiting for it to be built then trying to debug with breakpoints.