|
|
|
|
|
by cogman10
1620 days ago
|
|
> Given a long enough time horizon, all abstractions turn bad. The solution isn't to not abstract. The solution is to tear them down when they go bad. I disagree with this analysis. Abstractions certainly go bad, but I don't think it's correct to say all abstractions go bad. The solution I took from Sandi's post was two-fold. * Don't prematurely abstract, it's better to live with a little duplication vs aggressively eliminating it. * Don't hold abstractions sacred, when you start seeing an abstraction with too many conditionals, consider breaking apart the use-cases to see if there are actually 2 distinct abstractions happening. |
|