@rwnobrega to [email protected] • 1 year agoPython interfaces: abandon ABC and switch to Protocolslevelup.gitconnected.commessage-square9arrow-up114arrow-down13
arrow-up111arrow-down1external-linkPython interfaces: abandon ABC and switch to Protocolslevelup.gitconnected.com@rwnobrega to [email protected] • 1 year agomessage-square9
minus-square@[email protected]linkfedilink5•1 year agoI need to move away from using inheritance in my Python. I’ve been using Rust exclusively for the past year and it’s definitely going to affect how I write code in other languages.
I need to move away from using inheritance in my Python. I’ve been using Rust exclusively for the past year and it’s definitely going to affect how I write code in other languages.
“If only I could make this a
trait
…”Yes!