Mechanism vs. Policy

A clear distinction between mechanism and policy empowers consumers, allowing them to define richer experiences, such as menu placements. By analyzing their directory-watching code, the team recognized the need for a unified mechanism that accommodates various policies, such as when to watch and how to respond to changes. This understanding emphasizes the different roles of product versus plugin writers, highlighting the importance of separating concerns in software development.