bort@sopuli.xyz to Programmer Humor@programming.dev · 8 months agoSTOP DOING DEPENDENCY INJECTIONsopuli.xyzimagemessage-square79fedilinkarrow-up1433arrow-down134
arrow-up1399arrow-down1imageSTOP DOING DEPENDENCY INJECTIONsopuli.xyzbort@sopuli.xyz to Programmer Humor@programming.dev · 8 months agomessage-square79fedilink
minus-squareMajorHavoc@programming.devlinkfedilinkarrow-up22arrow-down3·8 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·8 months agoI replaced the P in my LAMP stand with Python and I’ve never been happier.
minus-squareVantaBrandon@lemmy.worldlinkfedilinkarrow-up5·8 months agoThey say he’s still ducking to this day
minus-squareMajorHavoc@programming.devlinkfedilinkarrow-up3·8 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.