fuck_u_spez@lemmy.fmhy.ml to Programmer Humor@programming.dev · 3 years agoEveryone should have a tool-building factory factory factoryi.ibb.coimagemessage-square59linkfedilinkarrow-up1576arrow-down118
arrow-up1558arrow-down1imageEveryone should have a tool-building factory factory factoryi.ibb.cofuck_u_spez@lemmy.fmhy.ml to Programmer Humor@programming.dev · 3 years agomessage-square59linkfedilink
minus-squarefuck_u_spez@lemmy.fmhy.mlOPlinkfedilinkarrow-up4arrow-down3·3 years agoI guess I have to start calling function invocation with generic parameters, fancy names (like “dependency injection” ^^)
minus-squareqwioeue@lemmy.worldlinkfedilinkarrow-up2·3 years agoRelevant: I also prefer the simpler explanation. https://www.jamesshore.com/v2/blog/2006/dependency-injection-demystified
minus-squarematto@lemm.eelinkfedilinkarrow-up2·3 years 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.