• resipsaloquitur@lemmy.world
    link
    fedilink
    arrow-up
    6
    arrow-down
    3
    ·
    12 hours ago

    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.