Go Generics in API Design Go 1.18 has finally landed, and with it comes its own flavor of generics. For example, you should try to handle errors before using panic since the latter will end up exiting your program. Since this compiles, we won’t know this broke something until we deploy and get the bug report.
Table of contents
Go Generics in API DesignA note on when to use genericsDesigning UpfrontBeing Upfront about itFinal thoughts1 Comment
Sort: