3 ms·
Inversion of control is a good thing. Why would you want to avoid it?
by nahname 13y ago
Inversion of control is a good thing. Why would you want to avoid it?
- laszlok 13y agoI think the idea here is that you aren't /forced/ into inversion of control. That is, if it is clearer to write things side by side, instead of separated into another callback function, you can keep them together.
- zeckalpha 13y agoIt's not avoided, it just has a different syntax. (Monadic rather than callbacks, but since they are the same thing...)
- icarus127 13y agoI'm genuinely curious, why do you think inversion of control is an unqualified Good Thing™?
- alipang 13y agoBecause of certain limitations in Java-style type systems...?