TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Constraining Complexity in Go Generics

4 pointsby Meroviusover 1 year ago

2 comments

lukasschwabover 1 year ago
It&#x27;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&#x27;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).<p>I wind up feeling grateful for simple interfaces, especially the ones disseminated in the standard library.
Meroviusover 1 year ago
A supplementary post to my talk at GopherConAU 2023, about a design problem with NP-completeness encountered in the discussions about Go generics.