fuck_u_spez@lemmy.fmhy.ml to Programmer Humor@programming.dev · 1 year agoEveryone should have a tool-building factory factory factoryi.ibb.coimagemessage-square59fedilinkarrow-up1588arrow-down117
arrow-up1571arrow-down1imageEveryone should have a tool-building factory factory factoryi.ibb.cofuck_u_spez@lemmy.fmhy.ml to Programmer Humor@programming.dev · 1 year agomessage-square59fedilink
minus-squarefuck_u_spez@lemmy.fmhy.mlOPlinkfedilinkarrow-up4arrow-down2·1 year agoI guess I have to start calling function invocation with generic parameters, fancy names (like “dependency injection” ^^)
minus-squareqwioeue@lemmy.worldlinkfedilinkarrow-up2·1 year agoRelevant: I also prefer the simpler explanation. https://www.jamesshore.com/v2/blog/2006/dependency-injection-demystified
minus-squarematto@lemm.eelinkfedilinkarrow-up2·edit-21 year agoAs I read somewhere: Dependency Injection is a 25-dollar term for a 5-cent concept.
I guess I have to start calling function invocation with generic parameters, fancy names (like “dependency injection” ^^)
Relevant:
I also prefer the simpler explanation.
https://www.jamesshore.com/v2/blog/2006/dependency-injection-demystified
As I read somewhere:
Yea that works too.