Davy Jones@lemmy.dbzer0.com to Programming@programming.dev · 2 days agoWhich software design principles do you rely on most?message-squaremessage-square29fedilinkarrow-up148file-text
arrow-up148message-squareWhich software design principles do you rely on most?Davy Jones@lemmy.dbzer0.com to Programming@programming.dev · 2 days agomessage-square29fedilinkfile-text
I’m curious which software design principles you find most valuable in real projects. Two concise summaries I’ve found: Clean Code by Robert C. Martin A Philosophy of Software Design by John Ousterhout
minus-squaresip@programming.devlinkfedilinkarrow-up3·edit-22 days agoDI without a tool/injector is just composition. just saying
minus-squarenebeker@programming.devlinkfedilinkEnglisharrow-up2·2 days agoA good reminder that composition is a useful concept.
minus-squaresip@programming.devlinkfedilinkarrow-up1·16 hours agoit’s my fav and it’s easy. allows containing details of a lower lever gizmo in a higher level thingamabob and basically free strategy pattern, especially if you use DI… and allows mock/spy testing!
DI without a tool/injector is just composition. just saying
A good reminder that composition is a useful concept.
it’s my fav and it’s easy. allows containing details of a lower lever gizmo in a higher level thingamabob and basically free strategy pattern, especially if you use DI… and allows mock/spy testing!