SorteKanin@feddit.dk to Rust · 15 days agoThe Language That Never Was | Celes' Ramblingsblog.celes42.comexternal-linkmessage-square20linkfedilinkarrow-up131arrow-down13cross-posted to: [email protected]
arrow-up128arrow-down1external-linkThe Language That Never Was | Celes' Ramblingsblog.celes42.comSorteKanin@feddit.dk to Rust · 15 days agomessage-square20linkfedilinkcross-posted to: [email protected]
minus-squarejenesaisquoi@feddit.orglinkfedilinkEnglisharrow-up2·13 days agoThe orphan rule is not stupid, it is necessary.
minus-squaresugar_in_your_tea@sh.itjust.workslinkfedilinkarrow-up1·13 days 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.