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