Re:Node v4.0.0
by spion on Wednesday September 09, 2015 @05:54AM
(#10190565)
In my experience in practice there is no big difference, really, its just a matter of a few keywords.
As for "having to change an entire call stack", that just stopped happening after a while. The rule of thumb was that if the function is impure (e.g. relying on mutable state) then it will likely become async, too. That lets me plan ahead.
As for "having to change an entire call stack", that just stopped happening after a while. The rule of thumb was that if the function is impure (e.g. relying on mutable state) then it will likely become async, too. That lets me plan ahead.