By bloid
via log.ometer.com
Published: Sep 08 2008 / 17:41
"If synchronous IO becomes a problem, it can be made asynchronous later." Tempting to imagine that some operations on local files are "fast enough" to implement with synchronous IO. "Premature optimization is the root of all evil," right?
Wishful thinking. Async vs. sync IO is not a performance issue (in fact synchronous IO can be faster). It is a structural or qualitative issue, a design issue. Sync IO is guilty until proven innocent.
Comments
zynasis replied ago:
never is a strong word to use here.
rv49649 replied ago:
For any situation involving a GUI event loop, the authors use of "never" is really very much appropriate.
Voters For This Link (13)
Voters Against This Link (1)