1. 12
  1.  

  2. 4

    Although the author seems to put too much emphasis on the code itself, I think we’re on the same page… This is my take on the subject: https://gtramontina.com/posts/do-repeat-yourself.html

    1. 1

      IMO this is a much better argumentation against automatic abstraction of all duplicated code than that of the topic article.

    2. 1

      I don’t have as much time as I’d like to unpack what I mean so I’ll risk being too pithy: I guess DRY may be (amusingly?) focused on the wrong abstraction layer?

      It isn’t about the logistics of repetition; it’s about the semantics of it.

      It isn’t that you shouldn’t repeat yourself–it’s that you shouldn’t rephrase yourself?