Re:EventMachine: scalable non-blocking i/o in ruby
by axod on Monday March 15, 2010 @04:54PM
(#1194093)
If your program is:
Show a calculator.
Why should you need to write the code to do each individual part of the calculator?
I disagree, dividing up the work yourself into chunks means you retain complete control of when your code executes. That actually decreases the complexity of your code, since you know when everything will execute.
On event, do some big, long calculation.
Why should you need to write the code differently from that? It's nice that the language/environment handles things for you, rather than manually dividing things up into little chunks.