• Solumbran@lemmy.world
    link
    fedilink
    arrow-up
    11
    ·
    16 days ago

    “The cult of understandable things”

    Yeah ok bro, sure.

    Who doesn’t like a gigantic shitty code that “just works” after all?

  • bitcrafter@programming.dev
    link
    fedilink
    arrow-up
    7
    ·
    16 days ago

    As someone who regularly has to deal with code that has been broken needlessly into smaller functions so that I have to constantly jump around to figure out what is going on, this really resonates with me.

    The latest case was someone who took something that really only needed to be a single function and instead turned it into a class with a dozen tiny methods.

  • resipsaloquitur@lemmy.world
    link
    fedilink
    arrow-up
    6
    ·
    16 days 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.

  • SamuraiBeandog@lemmy.world
    link
    fedilink
    arrow-up
    4
    ·
    edit-2
    16 days ago

    This is an article by a person who doesn’t understand SOLID principles, talking about programmers who don’t understand SOLID principles.