General thoughts on the craft/art/science of programming and related topics.
Comments: BPGB: Unnecessarily DRY
Comments
The overly dry code example also violates the software engineering concept of coupling. He now has a function that does two different things depending on a flag parameter controlling the logic: Control Coupling. See also, Logical Cohesion.
The overly dry code example also violates the software engineering concept of coupling. He now has a function that does two different things depending on a flag parameter controlling the logic: Control Coupling. See also, Logical Cohesion.
Posted by: David McReynolds | November 13, 2015 11:45 AM