News for hackers. Stuff that matters.
Re:DRY Is a Trade-Off by js8 on Friday December 18, 2020 @01:04PM (#25469932)
In imperative languages without macros, it might be difficult to abstract structural similarity, like a common if statement.

In functional languages, where every statement is a function, this is often easier.

Re:DRY Is a Trade-Off by jayd16 on Friday December 18, 2020 @01:18PM (#25470107)
You can write your method in a functional style in the popular imperative languages. This can stretch how DRY you can be a bit further.