SorteKanin@feddit.dk to Rust@programming.dev · 2 days agoThe Language That Never Was | Celes' Ramblingsblog.celes42.comexternal-linkmessage-square20linkfedilinkarrow-up130arrow-down13
arrow-up127arrow-down1external-linkThe Language That Never Was | Celes' Ramblingsblog.celes42.comSorteKanin@feddit.dk to Rust@programming.dev · 2 days agomessage-square20linkfedilink
minus-squarejenesaisquoi@feddit.orglinkfedilinkEnglisharrow-up2·8 hours agoThe orphan rule is not stupid, it is necessary.
minus-squaresugar_in_your_tea@sh.itjust.workslinkfedilinkarrow-up1·3 hours 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.