Golang introduces generics
Golang FINALLY introduces GENERICS (aka templates, aka type parameters) in release 1.18 (in Feb 2022)
I remember the early 2000s when generics where added to C#, and how they were awaited…
These days Go is my favourite language for writing highly-scalable solutions and generics are the key thing I’ve been waiting for. They should significantly simplify design of the apps in some cases.
My mind map with key things you should know:
Video overview of generics:
See also:
- Designing Data-Intensive Applications - Chapter 4 - Encoding and Evolution
- Designing Data-Intensive Applications - Chapter 3 - Storage and Retrieval
- Designing Data-Intensive Applications - Chapter 2 - Data Models and Query Languages
- Designing Data-Intensive Applications - Chapter 1 - Reliable, Scalable, and Maintainable Applications
- Clean Architecture - PART IV - Component Principles