bugsmith@programming.dev to Programming@programming.dev · 10 months agoWhat even is “Dependency Injection”? (a practical example using Go)medium.comexternal-linkmessage-square4fedilinkarrow-up118arrow-down13
arrow-up115arrow-down1external-linkWhat even is “Dependency Injection”? (a practical example using Go)medium.combugsmith@programming.dev to Programming@programming.dev · 10 months agomessage-square4fedilink
minus-squareVoterFrog@lemmy.worldlinkfedilinkarrow-up3·10 months 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.