Hacker News new | past | comments | ask | show | jobs | submit login
Write better software: CUPID characteristics instead of rigid SOLID pricinples (dannorth.net)
2 points by nenadst on Feb 14, 2022 | hide | past | favorite | 1 comment



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.




Consider applying for YC's Summer 2025 batch! Applications are open till May 13

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: