bort@sopuli.xyz to Programmer Humor@programming.dev · 2 年前STOP DOING DEPENDENCY INJECTIONsopuli.xyzimagemessage-square79fedilinkarrow-up1435arrow-down134
arrow-up1401arrow-down1imageSTOP DOING DEPENDENCY INJECTIONsopuli.xyzbort@sopuli.xyz to Programmer Humor@programming.dev · 2 年前message-square79fedilink
minus-squareZagorath@aussie.zonelinkfedilinkEnglisharrow-up1·1 年前It’s easy to imagine a hypothetical way that could lead to problems. But in all the code I’ve worked with, either that scenario is avoided entirely, or other context makes it absolutely clear which IProductService is being used.
It’s easy to imagine a hypothetical way that could lead to problems. But in all the code I’ve worked with, either that scenario is avoided entirely, or other context makes it absolutely clear which
IProductServiceis being used.