• pixxelkick@lemmy.world
    link
    fedilink
    arrow-up
    0
    ·
    6 months ago

    You know what really sucks?

    When I have a method that returns a Foo and like 300 places it gets called.

    And then I change it to return an ever so slightly different Bar

    Ah, now I need to go and update the code in 300 places cause the return type changed.

    “Can’t you just sed your codebase?”

    Maybe, but it could cause some serious unintended dawizard