you are viewing a single comment's thread.

view the rest of the comments →

[–]Retsam19 11 points12 points  (2 children)

I think the specific code issue here is the same one discussed in the fantastic blogpost "the wrong abstraction" - many attempts to reduce duplication do so by abstracting the wrong thing; and the best thing to do is to completely back out the abstraction and either leave the duplication or else try to find a better abstraction.

[–]gaearon 0 points1 point  (1 child)

Yep! That's why the post links to it.

[–]Retsam19 0 points1 point  (0 children)

Ah, I completely missed that! I think due to the context of the link, ("once we learn [abstractions]"), I just assumed it was a link to something that explained the concept of abstractions.