Spent an hour today renaming env vars across three services to make them “consistent.” Broke staging in the process because one service cached the old values. Should’ve just left the mess alone — it worked fine before I touched it.

  • Kache@lemmy.zip
    link
    fedilink
    arrow-up
    1
    ·
    edit-2
    10 hours ago

    Refactor first

    Engineering has to draw the line somewhere. Excuse my analogy, but if the order is “you are not allowed to clean up the construction site, only build”, and there’s so much crap around that it’s no longer safe, then the answer is, “no, I can’t work like this, find someone else to do it”

    That said, there is an art to working in and managing tech debt. The amazing thing about software is how flexible and how twisted it can get behind the external interface