bort@sopuli.xyz to Programmer Humor@programming.dev · 1年前STOP DOING DEPENDENCY INJECTIONsopuli.xyzimagemessage-square78fedilinkarrow-up1435arrow-down134
arrow-up1401arrow-down1imageSTOP DOING DEPENDENCY INJECTIONsopuli.xyzbort@sopuli.xyz to Programmer Humor@programming.dev · 1年前message-square78fedilink
minus-squarepassepartout@feddit.delinkfedilinkarrow-up21arrow-down6·edit-21年前Wouldn’t want to write a webserver / database connection / scheduler / etc. from scratch. Spring Boot plus lombok turns 2k lines of code into 100.
minus-squareMajorHavoc@programming.devlinkfedilinkarrow-up22arrow-down3·1年前… 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·1年前I replaced the P in my LAMP stand with Python and I’ve never been happier.
minus-squareMajorHavoc@programming.devlinkfedilinkarrow-up3·1年前Yep. That’s why we call it “duck typing” in Python.
minus-squareexpr@programming.devlinkfedilinkarrow-up2·1年前Sure… That"s what libraries are for. No one hand-rolls that stuff. You can do all of that just fine (and, actually, in a lot less code, mostly because Java is so fucking verbose) without using the nightmare that is Spring.
Wouldn’t want to write a webserver / database connection / scheduler / etc. from scratch. Spring Boot plus lombok turns 2k lines of code into 100.
… 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.
Sure… That"s what libraries are for. No one hand-rolls that stuff. You can do all of that just fine (and, actually, in a lot less code, mostly because Java is so fucking verbose) without using the nightmare that is Spring.