Hacker News new | past | comments | ask | show | jobs | submit login

Inversion of control is a good thing. Why would you want to avoid it?



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.


I'm genuinely curious, why do you think inversion of control is an unqualified Good Thing™?


Because of certain limitations in Java-style type systems...?


It's not avoided, it just has a different syntax. (Monadic rather than callbacks, but since they are the same thing...)




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: