Placeholder

Operationalized guidance

Programming With Intent

Four pillars covering how code is structured, written, verified, and how it fails. Each rule is specific enough to apply the same way twice.

Programming With Intent began as a long-running video series. The chapters below carry that material as text, with worked examples in Python and C#.

Guidance is written to be applied rather than admired. Most rules exist because a specific class of defect kept recurring, and the chapter says which one.

Recurring phrases run through the chapters, and their canonical meanings live in the Aphorism Glossary. Each definition lists the chapters that invoke it.

One of the four pillars sits in the top-level navigation in its own right. Verification with Intent isAcceptance Testing, promoted because functional acceptance testing at the boundary is the practice that earns confidence to ship. Its chapters live there rather than being copied here.

The four pillars

All topics

21 topics. Chapter numbers are deliberately absent, because the two language families number their chapters independently.

  • Architecture LayersPythonC#Language-independent
  • Class DesignPythonC#Language-independent
  • Method DesignPythonC#Language-independent
  • Naming ConventionsPythonC#Language-independent
  • Configuration ProviderC#Language-independentNot yet published
  • Gateway Design PatternC#Language-independentNot yet published
  • Messaging PatternsPythonC#Language-independentNot yet published
  • Validation and Exception HandlingPythonC#Language-independent

    The Python chapter also covers structured logging. Canonical title drops it so the two families share one heading. Confirm this is the intended scope.

  • Anti-PatternsPythonLanguage-independentNot yet published
  • Encapsulating Third-Party LibrariesPythonLanguage-independentNot yet published
  • Boundary ValidationPythonLanguage-independentNot yet published
  • Code Correctness and Runtime SafetyPythonLanguage-independentNot yet published
  • Intentional Model DesignPythonLanguage-independentNot yet published
  • Adapter PatternPythonLanguage-independentNot yet published
  • Factory PatternPythonLanguage-independentNot yet published
  • Factory Method PatternPythonLanguage-independentNot yet published
  • Decorator PatternPythonLanguage-independentNot yet published

    Marked language-independent on the assumption this is the GoF pattern. If the chapter is about Python's @ decorator syntax, scope should be 'python'.

  • Python Language StylePythonNot yet published
  • Type AnnotationsPython
  • LINQ Query SemanticsC#
  • Data Manager DesignC#Language-independentNot yet published

    Examples are C# today.