SorteKanin@feddit.dk to Rust@programming.dev · 1 year agoThe Language That Never Was | Celes' Ramblingsblog.celes42.comexternal-linkmessage-square20linkfedilinkarrow-up132arrow-down13
arrow-up129arrow-down1external-linkThe Language That Never Was | Celes' Ramblingsblog.celes42.comSorteKanin@feddit.dk to Rust@programming.dev · 1 year agomessage-square20linkfedilink
minus-squarejenesaisquoi@feddit.orglinkfedilinkEnglisharrow-up2·1 year agoThe orphan rule is not stupid, it is necessary.
minus-squaresugar_in_your_tea@sh.itjust.workslinkfedilinkarrow-up1·1 year agoMy understanding is that it’s necessary given the current design of the compiler. That doesn’t mean it can’t be removed at some point. It would be really nice to be able to define trait impls wherever, and it should be possible.
The orphan rule is not stupid, it is necessary.
My understanding is that it’s necessary given the current design of the compiler. That doesn’t mean it can’t be removed at some point.
It would be really nice to be able to define trait impls wherever, and it should be possible.