News for hackers. Stuff that matters.
Re:The Rule of Three (2017) by evelynhayes on Wednesday April 01, 2020 @01:32PM (#22751319)
Hmm, interesting. I found this fragment to pretty much sum up the article: "It’s simple: when reusing code, copy it once, and only abstract the third time. This is the “rule of three.”
Re:The Rule of Three (2017) by Torwald on Wednesday April 01, 2020 @02:30PM (#22752010)
He also explains why you should do so.