|
|
|
|
|
by NateDad
4292 days ago
|
|
I write go 40 hours a week and have been for over a year. There's been only a couple times I wanted generics and those are structures I haven't actually needed to reuse yet. I'm not guessing about not being generics much. Edit
That being said, go is not for all projects. Some projects need a lot of generics. Don't use go for that. |
|
If you write reusable, future-facing code, generic types without the erasure of interface upcasting is required. There are no two ways around it.