|
|
|
|
|
by jacques_chester
2859 days ago
|
|
Kubernetes has enormous masses of repetitive code that is essentially a workaround for the absence of generics or other kinds of improved types. The reliance on "union types" -- really, exclusive arcs -- gives me the heebies and also guarantees that there is a bottleneck for new features: PRs to core. And then there's the whole TypeMeta thing. An entire dynamic type system because Golang can't express what Kubernetes needs. And no, I don't see code generation as a good thing. It's fragile and difficult to safely upgrade. |
|
Of course someone could always prove me wrong by doing just that.