3 ms·
> Well, scheduling is important. I can't connect my new phone to the computer until I've taken it out of the box it came in. That's not scheduling, that's a da
by lmm 8y ago
> Well, scheduling is important. I can't connect my new phone to the computer until I've taken it out of the box it came in.
That's not scheduling, that's a data dependency which functional style handles very well. Imperative would be more like deciding you have to unpack the charger and then unpack the phone and then charge the phone, when in fact it's fine to unpack them in either order. http://www.lihaoyi.com/post/WhatsFunctionalProgrammingAllAbout.html http://www.lihaoyi.com/post/WhatsFunctionalProgrammingAllAbo... has an extended example.
- magicalhippo 8y agoGood point, thanks for the correction.