News for hackers. Stuff that matters.
Re:A Plea for Lean Software (1995) [pdf] by madpata on Monday June 28, 2021 @02:08PM (#27665376)
> I just can't conceive of how modularity, in general, causes duplicate code rather than reduces it.

Yeah, like my node_modules folder doesn't contain tons of duplicate code.

/s

Re:A Plea for Lean Software (1995) [pdf] by Jtsummers on Monday June 28, 2021 @02:20PM (#27665552)
Modularity doesn't cause that. Modularity doesn't inherently reduce duplication either. But modular code offers opportunities for reuse (or clearer opportunities for reuse) that non-modular code does not (or where the reuse potential is so obfuscated that it may as well be non-existent).