↓ Ir para o conteúdo principal

← todas as notas

📎 Webclip

CUPID - for joyful code

The page argues that some software qualities make code a joy to work with, and that context still matters because every choice is a tradeoff. It presents five CUPID properties as a compact way to describe code that is easier to navigate, understand, and change with confidence.

Reading notes
#

  • The five CUPID properties are composable, Unix philosophy, predictable, idiomatic, and domain-based.
  • Code that is easy to navigate and reason about gives developers confidence that changes will have the intended effect.
  • The author links joyful code to human understandability, habitability, and the experience of working inside a codebase.
  • The five properties are presented as foundational and mutually reinforcing, with other candidate qualities treated as derivable from them.
  • The page says code can be improved by moving it toward the center of these properties, especially in legacy codebases.