Hacker News new | past | comments | ask | show | jobs | submit login
Constraining Complexity in Go Generics (merovius.de)
4 points by Merovius on Jan 5, 2024 | hide | past | favorite | 2 comments



It's a good post, super clearly explained. I have to admit it makes me a little nervous about the future of Go packages — of course interfaces aren't intrinsically bad, but omitting them in early versions of the language discouraged reflection and walled out a good deal of this complexity (in exchange for verbosity).

I wind up feeling grateful for simple interfaces, especially the ones disseminated in the standard library.


A supplementary post to my talk at GopherConAU 2023, about a design problem with NP-completeness encountered in the discussions about Go generics.




Join us for AI Startup School this June 16-17 in San Francisco!

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: