Hacker News new | ask | show | jobs
by darkrai0707 1820 days ago
This is a great initiative. It would be great if across each principle, we can have examples on how this principle helps to improve the code quality
1 comments

Some principles do have this already, it depends on the princple. They tend to be more code focused, such as compute properties when possible: https://principles.dev/p/compute-properties-when-possible/

It would be hard to do it for every case, as principles interact together to create more complex behaviors. I'll be discussing this more in "emergent behaviors" in "principle-driven engineering" at some point. But the essence is architecture can arise from a few principles together. It's a bottom up approach to architecture where team members understand the "why" so there are shared mental models between the team.