Davy Jones@lemmy.dbzer0.com to Programming@programming.dev · 15 天前Which software design principles do you rely on most?message-squaremessage-square33fedilinkarrow-up151file-text
arrow-up151message-squareWhich software design principles do you rely on most?Davy Jones@lemmy.dbzer0.com to Programming@programming.dev · 15 天前message-square33fedilinkfile-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-214 天前DI without a tool/injector is just composition. just saying
minus-squarenebeker@programming.devlinkfedilinkEnglisharrow-up2·14 天前A good reminder that composition is a useful concept.
minus-squaresip@programming.devlinkfedilinkarrow-up2·13 天前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!
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!