Davy Jones@lemmy.dbzer0.com to Programming@programming.dev · 6 天前Which software design principles do you rely on most?message-squaremessage-square33fedilinkarrow-up151arrow-down10file-text
arrow-up151arrow-down1message-squareWhich software design principles do you rely on most?Davy Jones@lemmy.dbzer0.com to Programming@programming.dev · 6 天前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-squarenebeker@programming.devlinkfedilinkEnglisharrow-up2·6 天前A good reminder that composition is a useful concept.
minus-squaresip@programming.devlinkfedilinkarrow-up1·5 天前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!
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!