News for hackers. Stuff that matters.
Re:DRY is an over-rated programming principle? by inlined on Thursday July 07, 2022 @05:47PM (#32019915)
Also, these are principles, not compiler errors. These principles will complete and it sometimes helps to have an order of precedence. The number one rule is KISS and would have trumped all the examples in the article.

Nit: the article’s problems also have an obvious solution—named parameters with default values when not provided.

There are no comments on this comment yet.