bugsmith@programming.devM to Programming@programming.dev · 3 years agoWhat even is “Dependency Injection”? (a practical example using Go)medium.comexternal-linkmessage-square4linkfedilinkarrow-up118
arrow-up118external-linkWhat even is “Dependency Injection”? (a practical example using Go)medium.combugsmith@programming.devM to Programming@programming.dev · 3 years agomessage-square4linkfedilink
minus-squareVoterFrog@lemmy.worldlinkfedilinkarrow-up3·3 years agoIt does and they’re kinda weird (if you’re used to more like Java-style interfaces). It flips the dependency between the interface and implementor on its head. Worth looking it up, it’s interesting.
It does and they’re kinda weird (if you’re used to more like Java-style interfaces). It flips the dependency between the interface and implementor on its head. Worth looking it up, it’s interesting.