799
Optimizations? Never heard of it
(lemmy.world)
Post funny things about programming here! (Or just rant about your favourite programming language.)
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
next, you'll tell people the door close button in elevators doesn't actually work.
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
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.
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.
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.
In Germany it also works as expected. I remember that we always pressed it like crazy in university when the elevator was already very full, so it didn’t even open when it stopped before the ground level.
Works in 90% of the elevators I take in Canada 🤷♂️
Maybe I'm unlucky