• @IDatedSuccubi@lemmy.world
    link
    fedilink
    981 year ago

    This is what I and many other programmers have done (not the removal, but fake delays), because it improves user experience, actually:

    1.When the user clicks a button that should take long in their mind (like uncompressing a zip file etc) but is actually fast, it might seem like something is wrong and it didn’t work

    2.When the user transitions between layouts of the application, if it loads everything too fast it will look too abrupt, a fake delay will be made here if a transition animation is not possible/doesn’t fit

    • @alokir@lemmy.world
      link
      fedilink
      531 year ago

      I was working on an enterprise web application, there was a legacy system that everyone hated and we replaced it with a more modern one.

      We got a ticket from our PO to introduce a 30 sec delay to one of our buttons. It sounded insane, but he explained that L1 support got too many calls and emails where users thought said button was broken.

      It wasn’t, they were just used to having to wait up to 5 minutes for it to finish doing its thing, so they didn’t notice when it did it instantly.

      We gradually removed that delay, 10 seconds each month, and our users were very happy.

    • Flaky_Fish69
      link
      fedilink
      321 year ago

      next, you’ll tell people the door close button in elevators doesn’t actually work.

      • @IDatedSuccubi@lemmy.world
        link
        fedilink
        511 year ago

        I’m pretty sure it’s either a myth (that it doesn’t work) or some US-centric thing, because when I worked as a delivery guy, I used to go through probably hundreds of different elevators in high-density residential buildings, and most of them have doors that stay open very long to allow baby strollers and heavy appliances to be placed inside, and on pretty much all of these the door closing button works, immediately closing the door

        • stankmut
          link
          fedilink
          81 year ago

          Most elevators I’ve seen in the US have a minimum time for the doors to be open. Hitting the closed button won’t do anything, unless you had hit the open door button to keep them open past that time. So if you hit the open door button right before the doors closed to let someone in and they tell you they are actually going down, you can hit the close button and it’ll immediately close.

        • KairuByte
          cake
          link
          fedilink
          61 year ago

          It’s entirely configurable, and up to the building management. While there is likely a “local default” that doesn’t mean it can’t be changed.

        • @Hexadecimalkink@lemmy.ml
          link
          fedilink
          21 year ago

          The door close button does nothing in Canada but in the middle east it actually works immediately. I was shocked when I tried in the middle east I used to just do it for fun in Canada.

    • exu
      link
      fedilink
      281 year ago

      Is there a secret flag to disable the delays? Would be kinda awesome to have for “thosa in the know”

      • @IDatedSuccubi@lemmy.world
        link
        fedilink
        71 year ago

        Most probably not, at least in my programs I’ve never made a flag, because my delays are usually no more than 3 seconds anyway

      • @Hexarei@programming.dev
        link
        fedilink
        71 year ago

        The CPU, working tirelessly to ensure your queries completed in just under 100 million cycles (assuming 1 thread and 4Ghz):

        “Am I a joke to you?”

    • @sp00nix@lemmy.ml
      link
      fedilink
      131 year ago

      There was a financial calculator from HP that they made for decades. The newer ones were so fast doing large mortgage calculations that the users didn’t trust it, so they intentionally slowed down the results.

    • @lauha@lemmy.one
      link
      fedilink
      111 year ago

      First reason is just poor UI design. I’m sure there are billion ways to indicate a successful action even if it was immediate.

      • @pineapple_santa@feddit.de
        link
        fedilink
        English
        2
        edit-2
        1 year ago

        Imagine asking a person a math question like what 2 times 3 times 7 is (without you knowing the answer). If that person immediately goes like „42“ you‘ll most likely think that it’s a joke response and the person doesn’t take your question seriously. If however that person takes a few seconds to think you are much more likely to believe the answer.

        • @lauha@lemmy.one
          link
          fedilink
          English
          11 year ago

          With your overly simple example I would totally believe that person. With harder problems perhaps. Besides, machines are not human.

  • @Ducks@ducks.dev
    link
    fedilink
    411 year ago

    Used to work with a guy who would put 3 second sleeps after every line in our Jenkins file. He would then say how he’s so busy because he has no time when he’s always waiting for builds to run.

    Chris, everyone knows what you were doing.

    • @stardust@lemm.ee
      link
      fedilink
      11
      edit-2
      1 year ago

      I was just about to share that article. Definitely worth the read for anyone wondering!

  • @CanadaPlus
    link
    5
    edit-2
    1 year ago

    The trick is to have users in the first place if your new tool sucks due to slowness.

  • neo (he/him)
    link
    fedilink
    English
    21 year ago

    For even better payoff reduce the sleep by 100-500 per major update

  • @fibojoly@sh.itjust.works
    link
    fedilink
    011 months ago

    Who needs to add Sleep calls when you can just do your shitty every day naive implementation and let your future colleagues fix your mess.