Go generics, one year into production
Where they paid off (collections, retries) and where they made code worse.
Use generics for containers and algorithms. Avoid them for business logic — interfaces still read better there.
Where they paid off (collections, retries) and where they made code worse.
Use generics for containers and algorithms. Avoid them for business logic — interfaces still read better there.