3 ms·
>It seems to me that what’s meant by “the wrong abstraction” is “a confusing piece of code littered with conditional logic”. I don’t really see how it makes sen
by coldtea 3y ago
>It seems to me that what’s meant by “the wrong abstraction” is “a confusing piece of code littered with conditional logic”. I don’t really see how it makes sense to call that an abstraction at all, let alone the wrong abstraction.
No, it means the wrong abstraction. Like forcing a one-size-fits-all abstraction on a few pieces of duplicated code, and not waiting for them to grow to enough cases to hint at what is the best pattern/abstraction/architecture to handle them (perhaps more than one, for different classes than somebody might just shove in a single abstraction prematurely).