News for hackers. Stuff that matters.
Re:Software Complexity Is Killing Us by aphextron on Monday January 29, 2018 @04:16PM (#16260671)
There’s a legitimate argument for choosing reasonable code duplication over inheritance. It comes up a lot in iOS development when you just need a new UIView with a few tweaked string values. DRY should not be an unassailable mantra. Keeping a flat class heirarchy keeps programmers sane.
Re:Software Complexity Is Killing Us by binarycrusader on Monday January 29, 2018 @04:33PM (#16260801)
Or as the Rob Pike puts it, "A little copying is better than a little dependency."

https://www.youtube.com/watch?v=PAAkCSZUG1c&t=9m28s

Re:Software Complexity Is Killing Us by hooph00p on Monday January 29, 2018 @04:22PM (#16260717)
>DRY should not be an unassailable mantra.

Excellent takeaway.