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.