3 ms·
> "Are these things I'm trying to abstract over actually similar in any fundamental way?" I'm not sure why this is even a point; if there's no similarity of th
by CharlieDigital 3y ago
> "Are these things I'm trying to abstract over actually similar in any fundamental way?"
I'm not sure why this is even a point; if there's no similarity of the things that are being abstracted, why would one even discuss abstraction in the first place? The point of abstraction is that there is some fundamental similarity that the abstraction addresses. `ICloudStorage` abstracts `GoogleCloudStorage` and `AwsS3Storage` because at some level, they both have the same abstract operations: read, write, delete, etc.
- dllthomas 3y ago> if there's no similarity The point is that there may be superficial similarity. Code that happens to look the same, but represents different "pieces of knowledge" that are likely to change independently probably shouldn't be unified.