News for hackers. Stuff that matters.
Re:The 1, 2, n pattern by aaronbrethorst on Sunday April 05, 2020 @11:10PM (#22790630)
Explanatory comments that tell the reader to go look for other instances of this pattern are the key to success.

    // AB-20200405 - Hi future developer (probably me),
    // if you're copying and pasting this code, then
    // please take an extra five minutes to locate the
    // other similar instance of this code snippet in
    // the codebase, and refactor both of these into a
    // method first. The other snippet will have the
    // same comment that precedes this one.
    // 
    // Here's what this overly clever snippet of code 
    // is doing, so that when you do refactor it into a
    // method in 2023, you don't miss an important edge
    // case. Ta!
Re:The 1, 2, n pattern by heavenlyblue on Monday April 06, 2020 @04:46AM (#22791904)
Another life hack: reference the same “AB-20200405” in the other code snippet.
Re:The 1, 2, n pattern by aaronbrethorst on Monday April 06, 2020 @10:17AM (#22793898)
Right, it all falls apart otherwise.