There’s only one place to be when it reaches that high, the ocean or a river.[quote=398102:@Sascha S]I am sure Sam is referring to everything which is not 100% under your control (like Network Communication, Filesystems, … ) and could block execution from continue or dramatically slow down th UI. I needed 5+ years to not only learn this lesson but to live by it (most times). :D[/quote]
Even stuff which is 100% my code, if it’s going to take longer than a second, then the user should know what’s going on, if it’s going to take more than a handful of seconds, then the user should be able to stop it.
I was actually really disapointed this week when trying to use a software product from a certain company, it did some tasks that take a long time. The first task it did, was supposedly in the background, there was no progress, no cancel button, but it was so intensive that I couldn’t do anything else worthwhile with the computer. I don’t actually know how long it took, because I gave up and went for a dog walk, when I got back the computer was all calm again. What compounded the frustration, was that it didn’t do what I expected it to do, in fact I don’t even know if it actually did anything, there’s no errors, but there was no progress either.
The second task, was also supposed to be in the background, but again it bought my computer to it’s knees while it was doing it. At least this time I had a progress bar, although it started off saying 2 hours, and actually completed in 20 minutes.