• hkspowers@lemmy.today
    link
    fedilink
    English
    arrow-up
    25
    arrow-down
    3
    ·
    9 hours ago

    This seems more like an example of procrastination not technical debt. Technical debt as I understand it requires a previous decision to impeed new decisions/progress because it wasn’t done properly the first time.

    A better example would be he wants to add a brick chimney to the roof but can’t because the roof is made of straw thatch and can’t support the weight, so it would need to be rebuilt first out of timber, and then a chimmney can be added.

    • Michal@programming.dev
      link
      fedilink
      arrow-up
      19
      ·
      7 hours ago

      It’s an abstract analogy but i think it works… When the roof is really needed, it’s not possible to fix it because rain / deadline.

      When it’s sunny, no deadlines, the hole doesn’t impede any work, so there’s no need to fix it, difficult to convince PM that it needs fixing.

  • IcyToes@sh.itjust.works
    link
    fedilink
    arrow-up
    119
    ·
    24 hours ago

    This why any good engineer would bake it into their estimates when working around the area. I think Martin Fowler covers this in Refactoring. Eiher that or it was Kent Beck in TDD. Both books complement each other really well.

    A good civil engineer doesn’t ask a Project Manager if they can add in structural supports. A good software engineer shouldn’t ask to build things right.

    “Before we build x, we need to adapt the foundations by resolving x problem. If we don’t get this right, it’ll increase the chances of bugs surfacing in production and would make our team look like a joke.”

      • IcyToes@sh.itjust.works
        link
        fedilink
        arrow-up
        2
        ·
        6 hours ago

        I don’t know those guys so they can say what they want. We don’t just ship. We code, review, test and only then deploy. I will build this the only way I can see and it’ll take 3 days. Want me to start this?

      • captainlezbian@lemmy.world
        link
        fedilink
        arrow-up
        7
        ·
        10 hours ago

        Yeah ultimately CivEs get to withhold a signature and if they don’t sign it’s illegal to build. Software doesn’t need a PE

    • mrgoosmoos@lemmy.ca
      link
      fedilink
      English
      arrow-up
      2
      ·
      9 hours ago

      yeah but when I do that, people get mad at me and ask “why number so big”, then when I explain they say “ok but what if there aren’t any issues” and then they make schedules based on that clearly incorrect number

      • IcyToes@sh.itjust.works
        link
        fedilink
        arrow-up
        3
        ·
        6 hours ago

        Mad? In a professional workplace?

        “If you can give me that issue free codebase, I’m happy to do that, but failing that, it takes 3 days to add that feature that is akin to the leaning tower of Piza taped together with duct tape. There is only so much tech debt you can pile on until you are in code hell, and unfortunately, we are.”

        If they do some weird ass schedule “well, you can write down that if you wish, feel free to write down that my other car is a Bugatti, if we are just theorising on a perfect unicorn world”.

      • Michal@programming.dev
        link
        fedilink
        arrow-up
        14
        ·
        20 hours ago

        “Are you willing to own the risk? If so, what will it look like? Can you budget additional time for addressing these bugs, and draft contingency plans?”

          • IcyToes@sh.itjust.works
            link
            fedilink
            arrow-up
            3
            ·
            6 hours ago

            “True. It’ll be perfectly fine, and because of that, you won’t need me on call when it all goes dramatically wrong. If you need access to the repo, I’ll add you in though. Good luck.”

            Or, if you’ve worked together a while “like I overthought it when we worked on x, and y went wrong, and I called it before it happened. Turns out I’m quite good at seeing car crashes in advance.”

          • Auth@lemmy.world
            link
            fedilink
            English
            arrow-up
            1
            ·
            6 hours ago

            Thats a scheduling issue on your end. I’ve given the time estimate my team needs. You can adjust expectations and shift around my allocated time but it will take x hours no matter what.

            There is no putting up with half of these complaints. They just arent real things that occur in a workplace.

          • IcyToes@sh.itjust.works
            link
            fedilink
            arrow-up
            4
            ·
            17 hours ago

            “Why are we only learning about this now? How long has this requirement been known? I think we need to look into the process that work comes into the team otherwise, if we don’t learn, we are going to take the website down and cost the company thousands/millions. It’s worth working with the business to get a batter understanding of upcoming requirements so we know what’s going to be needed in a months time”. There is a reason retros exist. Oh, and you have to be good at teasing out real deadlines vs arbitrary deadlines made up with no justifiable reason.

            “You ask me how long it’ll take, and it’s 3 days. You probably need to manage expectations on this. Maybe let them know the risks of x, y and z and why it will take this long”.

    • tiramichu@sh.itjust.works
      link
      fedilink
      arrow-up
      55
      ·
      edit-2
      22 hours ago

      Bad PO: “So it will only increase the chance of bugs if we don’t do it? There won’t necessarily be any. So we can skip it and just put the feature in.”

      I hope you have a good PO who is on the same page as you, but to a bad PO, it still sounds optional.

      A civil engineer doesn’t say “If we don’t put supports there’s a chance the ceiling will fall in and people may die,” because history has shown there are plenty of unscrupulous project managers who are quite willing to take construction risks, even with people’s lives. As a result of this there are now plenty of laws in construction, and a civil engineer has a convenient fallback of saying “If we don’t put supports it won’t pass inspection, and we won’t get paid.”

      Everyone wants to get paid.

      In software we don’t have many laws we can fall back on to justify our work, but we can still treat our tech debt and refactoring as if it’s equally mandatory.

      “To add feature x, we need to resolve problem y. The feature can’t be added until we’ve completed this prerequisite.”

      • IcyToes@sh.itjust.works
        link
        fedilink
        arrow-up
        1
        ·
        6 hours ago

        You’re trusting a PO to decide on how you build? They ain’t coders. They decide on value, you estimate and build and they prioritise based on the information you provide. POs aren’t the boss of devs. That’s usually engineering managers. You are both specialists in your field. You don’t lecture them on value and how pointless a feature is, you size it, and using velocity they can anticipate how much will likely be delivered in next sprint. If they really object, “if you feel you can build it in 1 day, go ahead, ill give you access. I have no idea how that could be done”

        PO wouldn’t like it during live incident when shit goes wrong that you suggest “I did highlight the risk of this occurring and proposed mitigation steps but was overruled”.

    • chiliedogg@lemmy.world
      link
      fedilink
      arrow-up
      28
      ·
      23 hours ago

      The big difference is a civil/structural engineer has to individually certify a plan sets and take legal responsibility for it. The project manager can’t override them.

      They can fire them and hire another engineer, but even if they found someone to stamp bad plans for a fee, the original engineer could report the new engineer and have their credentials yanked.

      We don’t have that in software engineering. And outside of critical software we don’t need it. When the audio fucks up in Teams and you have to leave and re-enter the meeting, people don’t die.

      • ChickenLadyLovesLife@lemmy.world
        link
        fedilink
        English
        arrow-up
        14
        ·
        19 hours ago

        We don’t have that in software engineering. And outside of critical software we don’t need it. When the audio fucks up in Teams and you have to leave and re-enter the meeting, people don’t die.

        I had a co-worker who was writing remote control software for a baseball-throwing machine. Not exactly “critical software” but he ended up firing a 125 mph knuckleball a foot above a 10-year-old kid’s head.

      • definitemaybe@lemmy.ca
        link
        fedilink
        arrow-up
        20
        ·
        22 hours ago

        Fuck Teams. The buggiest, most crash prone mess I’ve even been forced to use. They keep bolting on new, unnecessary “features” that only selectively work on some of their “supported” platforms.

        • Leon@pawb.social
          link
          fedilink
          English
          arrow-up
          2
          ·
          10 hours ago

          Changed my AD password today. Teams noticed, as it always does, and refused to load the login page in the window that popped up after it signed me out. Too bad most everyone is on vacation because on any ordinary day it would’ve been quite welcome.

      • TheOakTree@lemmy.zip
        link
        fedilink
        arrow-up
        5
        ·
        20 hours ago

        But what if the audio fucking up in Teams ends up costing a big man the wealth he’s entitled to?

    • Sylvartas@lemmy.dbzer0.com
      link
      fedilink
      English
      arrow-up
      14
      ·
      23 hours ago

      The difference there is that our project manager guy is afraid they’re gonna go to prison if they don’t let you add those supports and something goes wrong. But for the software dude, building things properly is unfortunately mostly a concern for you and the other software engineers, and mr project manager doesn’t have that much of an incentive to let you do that

      • IcyToes@sh.itjust.works
        link
        fedilink
        arrow-up
        5
        ·
        20 hours ago

        I find project managers don’t want to be responsible for building shit that is flaky on prod. Either the consultancy reputation or team reputation becomes mud and their promotion opportunities vanish.

      • IcyToes@sh.itjust.works
        link
        fedilink
        arrow-up
        2
        ·
        20 hours ago

        Then if you trust your team, have dev meetings and don’t give alternatives. Make it clear there is one way to do it and it’ll take x days long.

      • IcyToes@sh.itjust.works
        link
        fedilink
        arrow-up
        7
        ·
        20 hours ago

        That’s why you get jobs at the consultancy that has to clean up those messes after companies are burnt enough. Most companies that get burnt will feel the reputation damage and go for reputable ones with integrity who respect push back.

        Usually you’re not selling work on a feature by feature basis. It’s usually on huge projects or multi year deals.

        • fx242@lemmy.world
          link
          fedilink
          arrow-up
          7
          arrow-down
          1
          ·
          20 hours ago

          Companies don’t remember or learn. People come and go and after a software lifecycle everything is forgotten as the top management gets refreshed.

      • arendjr@programming.dev
        link
        fedilink
        arrow-up
        5
        ·
        22 hours ago

        That’s why you should go work at big corporate enterprises. Then you have both job security as well as the ability to spend as much time as necessary on getting things right. And you might even learn to say no to middle management.

        • trolololol@lemmy.world
          link
          fedilink
          arrow-up
          2
          arrow-down
          1
          ·
          19 hours ago

          Aw do they also hand out unicorns for Xmas?

          Some corporations do that, most don’t even if they’re trying to, because incompetence.

    • galoisghost@aussie.zone
      link
      fedilink
      arrow-up
      8
      ·
      23 hours ago

      and the response will invariably be: “Is there a way we can just ship feature x now and fix up the other stuff after?”

      • Rikj000@discuss.tchncs.de
        link
        fedilink
        English
        arrow-up
        11
        ·
        23 hours ago

        Just increase your time estimate,
        calculate in the time needed to refactor,
        but don’t tell them you’re gonna refactor.

        Works out most of the time.
        Only when they ask why the estimate is so long, then you explain your reasoning behind it, and then they might reply with your statement and block your refactoring idea.

        However, getting time to refactor most of the time, is aleady way better then never being allowed to do so.

        • galoisghost@aussie.zone
          link
          fedilink
          arrow-up
          4
          ·
          20 hours ago

          I have more than 20 years experience. I’ve never once not gotten the “can we do it without refactoring?” question. Bad managers? Not necessarily, the pressure always comes from above. Short term thinking always wins out in the for profit private sector.

          • fx242@lemmy.world
            link
            fedilink
            arrow-up
            2
            ·
            20 hours ago

            In my case those almost never pass. Maybe you’re the only one exclusively working on that system…? When you’re one of a number of contractors competing to do something in software that cannot be regulated, you’re basically screwed.

          • IcyToes@sh.itjust.works
            link
            fedilink
            arrow-up
            2
            ·
            20 hours ago

            Then you don’t give another option and only give estimates for doing it correctly.

            If you’re saying “I could hack it in for you this way”, you’re a cowboy dev.

        • IcyToes@sh.itjust.works
          link
          fedilink
          arrow-up
          2
          ·
          20 hours ago

          How can they block? Usually they cannot code so cannot do it themselves. Working in a place that micromanages you this badly must by soul destroying and degrading. Job sites are a good option.

          • Rikj000@discuss.tchncs.de
            link
            fedilink
            English
            arrow-up
            2
            ·
            19 hours ago

            By not accepting your time estimate,
            requesting your reasoning why it takes that long, you explaining you calculated time in for refactoring, then rejecting your idea and granting you only time to implement the new thing, without granting time for refactoring.

            And dw, my project manager is a pretty chill friend and fellow senior developer, who is reasonable and helps me with calculating in time for refactoring whenever possible/nessecary.

            It’s only higher up, CEOs/management, who seek to cut corners, with rocks for brains, who don’t see that in the long run such practices are bad for business.

            Which sadly is the case for most IT businesses. But at least in my workplace the project manager is not a rat & on the side of the developers.

            • IcyToes@sh.itjust.works
              link
              fedilink
              arrow-up
              1
              ·
              17 hours ago

              That ain’t pretty. In the UK, there is much more trust and less micromanagement, though it’s important devs learn to be assertive, communicate well and don’t give too much info to be hanged with. The way you communicate can determine his much time you free for yourself. A baker never asks of they can use flour and egg or negotiate on cook time.

              Context is important though and if folk find themselves in the cheapest price consultancy, they probably need to find their way out for their own self-respect and mental health. When you find your way into an org that wants to build quality stuff, it’s much happier for them.

      • IcyToes@sh.itjust.works
        link
        fedilink
        arrow-up
        2
        ·
        20 hours ago

        Depends where you work.

        If you’re good and they respect you , you’ll get away with “no” or, “I’ll build it, but if it goes wrong, I’m not fixing this evening and weekends”. Safest option is “in all honesty, I cannot see another credible option, no” and if you’re fed up of the follow up, drop the word credible.

  • pmk@piefed.ca
    link
    fedilink
    English
    arrow-up
    38
    ·
    21 hours ago

    This reminds me of some issues in my relationship. Some problems that never gets solved.

    • SoleInvictus@lemmy.blahaj.zone
      link
      fedilink
      arrow-up
      20
      ·
      18 hours ago

      I highly recommend solving the important ones and learning to let the rest go, speaking as someone whose marriage just exploded over exactly that.

      • pmk@piefed.ca
        link
        fedilink
        English
        arrow-up
        12
        arrow-down
        1
        ·
        17 hours ago

        I’m sorry to hear that. How are you doing now? If you don’t mind me asking, if there was a point where things were still salvageable, do you think you were both aware of the direction things were heading? Did the realization come at the same time for both of you, or at different times that it was beyond that point? What were the critical signs?

        • SoleInvictus@lemmy.blahaj.zone
          link
          fedilink
          arrow-up
          2
          ·
          5 hours ago

          Better! We’re working it out, so that’s good, but we have over a decade of things to go through, plus working on ourselves as individuals. It’s exhausting.

          My partner was the one to pull the divorce card, actually with no warning whatsoever. It’s so appropriate for a relationship that turned out to be significantly defined by poor communication.

          In retrospect, the critical signs were pretty obvious, but we both mistook them for other things. We had become very emotionally disconnected, but we were preparing for a huge move out of the country with a small pack of house pets so each of us thought that’s why the other was stressed. This actually was true for me while my partner was stressed because they wanted to run screaming but didn’t feel comfortable saying anything.

          We had both been withholding some major concerns about the other throughout our relationship, so each had a second, secret narrative that wasn’t being discussed or challenged in couples counseling. Plus we both have CPTSD from shitty childhoods and have cross-reactive behavior. Lots of angst here.

          This stuff can sneak up on you if you don’t have healthy habits that help identify and prevent it, but it’s clear as day once you learn. We’re getting there and we’ll be better people for it, but it’s brutal sometimes and we’re just at the beginning.

          • pmk@piefed.ca
            link
            fedilink
            English
            arrow-up
            1
            ·
            1 hour ago

            Oh, then there’s hope :) It sounds like there’s been a lot of introspection and a will to change course. Does she feel the same?
            For me I’ve been the one saying that our current lifestyle is not working for me. I’ve been saying it for 6 months and I don’t know what more I can do at this point. I wish I had hope. We have good days, but the fundamental issues remain.

  • smeg@feddit.uk
    link
    fedilink
    English
    arrow-up
    36
    ·
    22 hours ago

    As an aside, a Scottie dog called Haggis wearing a tam o’ shanter is an adorable character for a children’s book