4 ms·
When I look at his example I still sense a compelling sense to create some kind of abstraction. It's just that the example abstraction he chose to make is somew
by lleolin 7y ago
When I look at his example I still sense a compelling sense to create some kind of abstraction. It's just that the example abstraction he chose to make is somewhat esoteric and arguably over-solves the problem. The author isn't suggesting a different, perhaps simpler abstraction, but forgoes abstractions entirely.
- jariel 7y agoI tend to agree. To me, this is a good fit for some kind of 'fairly simple abstraction' - even the abstraction used is fine. So long as everything worked, I think this might be a better solution. I'm fine with 'don't just refactor because' but this looks like a fairly clean cut opportunity. Social considerations aside.