|
|
|
|
|
by hderms
1487 days ago
|
|
You could falsely negate a bunch of things by claiming it's premature optimization if you expand it's definition to mean thinking in advance. That being said I agree with you that interfaces for literally everything is a bad idea. Especially depending on interfaces everywhere, given that it's often quite nice to know concretely what some piece of code is trying to do. The original post isnt super clear to me regarding how often the author actually recommends using interfaces. The examples used are for storage backends in projects like Kubernetes, which most people would probably agree is a pretty good context in which to utilize interfaces. |
|