|
|
|
|
|
by copyconstruct
3231 days ago
|
|
Author here. > "The claims that "all abstractions leak" and that adherence to DRY makes code "hard to follow" is what gives me this impression." That's a simplistic -- and cherry-picked -- interpretation of my post, I'm afraid. DRY inherently doesn't make code harder to follow, but an explosion of ultra-small functions (sometimes done in the name of DRY) as advocated for by Fowler and Martin and their ilk most certainly makes the code a lot harder to read. I'm afraid I'm not against abstractions either - I'm only questioning whether the bottom up form of thinking we generally tend to use is the best mental model around and whether it's doing us a disservice. |
|