bort@sopuli.xyz to Programmer Humor@programming.dev · 7 months agoSTOP DOING DEPENDENCY INJECTIONsopuli.xyzimagemessage-square49fedilinkarrow-up120arrow-down12
arrow-up118arrow-down1imageSTOP DOING DEPENDENCY INJECTIONsopuli.xyzbort@sopuli.xyz to Programmer Humor@programming.dev · 7 months agomessage-square49fedilink
minus-squareMajorHavoc@programming.devlinkfedilinkarrow-up0·7 months ago… Looks both ways… Python does the same in 10 lines of code. … Ducks under a table to avoid the ensuring flames …
minus-squareVantaBrandon@lemmy.worldlinkfedilinkarrow-up0·7 months agoThey say he’s still ducking to this day
minus-squareMajorHavoc@programming.devlinkfedilinkarrow-up1·7 months agoYep. That’s why we call it “duck typing” in Python.
… Looks both ways…
Python does the same in 10 lines of code.
… Ducks under a table to avoid the ensuring flames …
They say he’s still ducking to this day
Yep. That’s why we call it “duck typing” in Python.