Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
nahname
· 13y ago · 0 comments
Inversion of control is a good thing. Why would you want to avoid it?
Comments
[–]
laszlok
13y ago
I 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.
[–]
icarus127
13y ago
I'm genuinely curious, why do you think inversion of control is an unqualified Good Thing™?
[–]
alipang
13y ago
Because of certain limitations in Java-style type systems...?
[–]
zeckalpha
13y ago
It's not avoided, it just has a different syntax. (Monadic rather than callbacks, but since they are the same thing...)