Repository navigation
Home
This wiki houses a PatternLanguage for making software, and a set of Principles for deriving new patterns.
A Pattern is a way of arranging things—Centers—to reduce Resistance in an information-processing system. Each Pattern in the language solves a particular type of resistance that arises from the conflicting Forces in a particular context.
The patterns form a language in two senses:
- First, patterns can be composed to solve complex, novel problems, just as words can be composed to form an infinite variety of sentences.
- Second, patterns are a means of communication among practitioners. Patterns raise the level of abstraction at which we can talk about how to solve problems.
The pattern language is structured as a network. Each pattern relates to many others.
The suggested order of reading is from "largest scale" to "smallest scale" patterns. For example, you might start by reading about industry-level and company-level patterns, then progress to team-level and architectural patterns, and finish with the smallest-scale patterns that deal with minute details in code.
Here are the largest-scale patterns we've written about so far:
- StablePlatform
- UsersPay
- CompetitiveMarket
- Freemium
- BuyWhatYouCanSellWhatYouCant
- ShallowOrgChart
- MatrixManagement
- PeerEvaluation
- WorkAssignedToTeams
- FullTimeAllocation
- BalancedTeam
- PrioritizedBacklog
- UserStories
- AcceptanceCriteria
- EstimationMeeting
- RelativeEstimates
- PairProgramming
- PairingStation
- WorkstationSetup
- DailyPairRotation
- WorkingToRule
- DevEnvironment
- WalkingSkeleton
- AutomaticDevSetup
- ReproducibleBuild
- ReadmeDrivenDevelopment
- Prototype
- Spike
- 400MillisecondFeedbackLoop
- TestDrivenDevelopment
- SmokeTest
- ContinuousIntegration
- FunctionalCoreImperativeShell
- TestDataRepository
- CharacterizationTest
- FlatTestSuite
Patterns are concrete. They are arrangements of particular things in physical and virtual space. Principles are more abstract. Each principle describes a way in which several good patterns are similar. Principles can give you ideas for creating new patterns.
Principles also inform how we think about our values. For example, the principle of RelativeAssessment gives us a way to measure Kindness and MeetingExpectations. The principles of MutualBenefit and WholeSystemImprovement remind us not to forget one value in pursuit of another.
Here are the principles we've used in developing this pattern language:
- RelativeAssessment
- ShallowHierarchy
- FeedbackUpIntentDown
- MutualBenefit
- SmallSteps
- WholeSystemImprovement
Values express what we're trying, ultimately, to do. They're not quite "goals", because they don't specify a desired end state, but a direction in which to improve.
(TODO: are these just sub-values of Kindness?)
Values identify the big problems we're addressing. Patterns solve known subproblems. Principles hint at approaches to novel problems.
Properties are different. Properties describe how things will feel when we've successfully applied principle-following patterns in pursuit of our values.
These properties are heuristics, not hard-and-fast rules. But taken together, they can give us a sense of the health of the environment we're operating in. When all the properties are present, we feel good. When they're not, we know something has to change.
- Metacognition
- JudgementOverRules
- Allostasis
- Trust
- SharedKnowledge
- Collaboration
- ClearCommunication
- Vacations
- Simplicity
- FastFeedback
- EasyBugfixes
- LevelsOfScale
- StrongCenters
- Boundaries
- Coherence
- Compatibility
- LocalSymmetry
- Contrast
- Gradients
- SelfSimilarity
- Roughness
- NotSeparateness
Theories (a.k.a. "mental models" or "views") are a way of making sense of the world, and predicting the course of future events. A theory of a codebase helps us predict the effects of changes we might make to the code.
Theories aren't objective truth. They're provisional, incomplete, and sometimes contradictory. That's okay. All they need to do is make useful predictions.