bort@sopuli.xyz to Programmer Humor@programming.dev · 7 months agoSTOP DOING DEPENDENCY INJECTIONsopuli.xyzimagemessage-square79fedilinkarrow-up1431arrow-down134
arrow-up1397arrow-down1imageSTOP DOING DEPENDENCY INJECTIONsopuli.xyzbort@sopuli.xyz to Programmer Humor@programming.dev · 7 months agomessage-square79fedilink
minus-squareMajorHavoc@programming.devlinkfedilinkarrow-up22arrow-down3·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-squareSpaceNoodle@lemmy.worldlinkfedilinkarrow-up13arrow-down1·7 months agoI replaced the P in my LAMP stand with Python and I’ve never been happier.
minus-squareVantaBrandon@lemmy.worldlinkfedilinkarrow-up5·7 months agoThey say he’s still ducking to this day
minus-squareMajorHavoc@programming.devlinkfedilinkarrow-up3·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 …
I replaced the P in my LAMP stand with Python and I’ve never been happier.
Same here.
They say he’s still ducking to this day
Yep. That’s why we call it “duck typing” in Python.