logoalt Hacker News

soperjtoday at 4:59 PM1 replyview on HN

Not duplicating code is literally best practice. Why would it deviate from that?


Replies

webjunkietoday at 6:12 PM

This is far from a universal best practice and heavily depends on what code it is and for what reason you are duplicating it potentially.