DEV Community

Discussion on: The DRY Principle Reexamined

Collapse
 
awwsmm profile image
Andrew (he/him)

DRYOTCAY

Catchy!

Seriously, though, some good advice here. My #1 rule for code cleanliness is just to use the standard libraries the way they're designed. As you say, there are built-in methods to find array maxima and minima, so why reinvent the wheel?