2 ms·
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
by evelynhayes 7y ago
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.”
- Torwald 7y agoHe also explains why you should do so.