Re:Ask HN: What are your contrarian views?
by PaulHoule on Wednesday March 26, 2025 @11:39AM
(#43483397)
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)
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)