3 ms·
> The orphan rule isn't a problem that needs solving, it is itself a solution to a problem. It is both. The Orphan Rule was indeed chosen as a solution becaus
by bsder 3y ago
> The orphan rule isn't a problem that needs solving, it is itself a solution to a problem.
It is both.
The Orphan Rule was indeed chosen as a solution because other choices were dramatically more difficult to implement.
However, the Orphan Rule also has tradeoffs that make certain things problematic.
Engineering is tradeoffs. There are only two types of programming languages: those you bitch about and those you don't use. YMMV. etc.
- Twey 3y agoEdward Kmett has a great explanation[1] of the considerations around this space. It's not that alternatives to the orphan rule are hard to implement, it's that they lead to things being much harder to reason about for the programmer. [1]: https://youtube.com/watch?v=hIZxTQP1ifo https://youtube.com/watch?v=hIZxTQP1ifo