> There is no problem to modify UI state from any thread; just put up some synchronizations.
It reminded me of the "I know, I'll use regular expressions" joke.
It reminded me of the "I know, I'll use regular expressions" joke.
Here we have an inherently concurrent problem - user actions and some IO actions occur concurrently. That problem cannot be reduced by some API or language trick.
Definitely not my experience. jQuery is very popular among unskilled programmers because its async model is very easy to understand. I use it to teach async!
> That problem cannot be reduced by some API or language trick.
Why? Reducing problem by API or language tricks is exactly what abstraction is for.