3 ms·
I don't believe the rule that you should deduplicate code when N=3, rather I think that people in the industry duplicate way too much and that you should dedup
by PaulHoule 2y ago
I don't believe the rule that you should deduplicate code when N=3, rather I think that people in the industry duplicate way too much and that you should deduplicate at N=2.
That said, I've done some side project work lately where I've let that slide, largely in cases where the code is really throw away (an importer script I'll run once) or when I really don't know what the hell I'm doing (a library that is partially compatible with python-arango for porting my personal arangodb applications to postgres/SQLAlchemy where I am learning SQLAlchemy as I go along)