2 ms·
For desktop apps, you have to design the UI completely differently if it async or blocking. If it is async then suddenly the user can push other buttons while t
by cm2187 4y ago
For desktop apps, you have to design the UI completely differently if it async or blocking. If it is async then suddenly the user can push other buttons while the previous action is executing which makes it a magnitude more complex.
- quickthrower2 4y agoYou never want to block your UI thread for any amount of time a user would notice say more than 20ms. And if you use async or another thread you can always update the UI to disabled with spinner state. This is all less convenient for the programmer but much better for the UX. Blocking the UI blocks it all, even the close button!