|
|
|
|
|
by pgwhalen
1728 days ago
|
|
That's a fair point. Knowing not to try to write generic code (since you don't have the tools) is the sign of an experienced Go programmer. That being said, I'm curious how much kubernetes (a large, famous, Go codebase) still has code that does this. I used to read that it used a ton of interface{} and type assertion, but maybe that narrative is out of date (or never really true). I was never too familiar with the codebase myself. |
|