Re:Node.js - A Giant Step Backwards
by karavelov on Friday August 05, 2011 @04:34AM
(#2849401)
Though async event driven programming is somehow confusing in the beginning, there are some idioms that could make your code more comprehensible.
My experience (mostly in perl - EV,AnyEvent, etc.) is that combining evens with finite state machines gives more structured code, with smaller functions that interact in predefined manner.
My experience (mostly in perl - EV,AnyEvent, etc.) is that combining evens with finite state machines gives more structured code, with smaller functions that interact in predefined manner.