bort@sopuli.xyz to Programmer Humor@programming.dev · 6 months agoSTOP DOING DEPENDENCY INJECTIONsopuli.xyzimagemessage-square68fedilinkarrow-up11arrow-down10
arrow-up11arrow-down1imageSTOP DOING DEPENDENCY INJECTIONsopuli.xyzbort@sopuli.xyz to Programmer Humor@programming.dev · 6 months agomessage-square68fedilink
minus-squarealuminium@lemmy.worldlinkfedilinkarrow-up0·edit-26 months agoIs this even a joke? In Spring DI beans are nothing but glorified over complicated global variables. Also this fits in here perfectly https://m.youtube.com/watch?v=k0qmkQGqpM8
minus-squareindog@lemmy.calinkfedilinkarrow-up0·6 months agoSpring singleton beans are supposed to be stateless though, so they can’t be called variables. Maybe the DI aspect of Spring is less relevant today in the micro service era, but in the day Spring helped make layered monolith apps much cleaner.
Is this even a joke? In Spring DI beans are nothing but glorified over complicated global variables.
Also this fits in here perfectly https://m.youtube.com/watch?v=k0qmkQGqpM8
Spring singleton beans are supposed to be stateless though, so they can’t be called variables. Maybe the DI aspect of Spring is less relevant today in the micro service era, but in the day Spring helped make layered monolith apps much cleaner.