Settings

Theme

Write better software: CUPID characteristics instead of rigid SOLID pricinples

dannorth.net

2 points by nenadst 4 years ago · 1 comment

Reader

nenadstOP 4 years ago

tldr version:

Principles are like rules:

you are either compliant or you are not. This gives rise to “bounded sets” of rule-followers and rule-enforcers rather than “centred sets” of people with shared values.2

Instead, I started thinking about properties:

qualities or characteristics of code rather than rules to follow.

Properties define a goal or centre to move towards. Your code is only closer to or further from the centre, and there is always a clear direction of travel.

.....

and then he gives a list of five properties that good architectures can aim for.

Keyboard Shortcuts

j
Next item
k
Previous item
o / Enter
Open selected item
?
Show this help
Esc
Close modal / clear selection