News for hackers. Stuff that matters.
Re:The Rule of Three (2017) by KajMagnus on Thursday April 02, 2020 @12:45AM (#22756279)
> I waffled on whether to deduplicate it or let it be. What was the Obvious Right Choice?

What about adding a one line comment that this code can be refactored and improved, and how? But not doing anything immediately.

If you run into this annoying code repeatedly, then, it can be worth taking the time to refactor it.

Re:The Rule of Three (2017) by earthboundkid on Thursday April 02, 2020 @09:15AM (#22758544)
Hmm, maybe I should wait until there are N examples of the pattern. Maybe 4 > N > 2 ??? :-D
Re:The Rule of Three (2017) by KajMagnus on Friday April 03, 2020 @08:47PM (#22775287)
What if N becomes 4 o.O then the weird code will be there forever? :- )