bort@sopuli.xyz to Programmer Humor@programming.dev · 7 months agoSTOP DOING DEPENDENCY INJECTIONsopuli.xyzimagemessage-square77fedilinkarrow-up1420arrow-down129
arrow-up1391arrow-down1imageSTOP DOING DEPENDENCY INJECTIONsopuli.xyzbort@sopuli.xyz to Programmer Humor@programming.dev · 7 months agomessage-square77fedilink
minus-squareMajorHavoc@programming.devlinkfedilinkarrow-up19arrow-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-up11arrow-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.