You see two functions that look similar. Clean Code sirens start blaring in your head. You extract a common abstraction. You add parameters to handle the slight differences. Then more parameters. Then a config object. Then a strategy pattern because you’re a Real Engineer™.
I’ve watched dozens of hours of Uncle Bob videos (not by choice) and this isn’t what he advocates. At all.
This author has no clue what they’re talking about.
I’ve watched dozens of hours of Uncle Bob videos (not by choice) and this isn’t what he advocates. At all.
This author has no clue what they’re talking about.