Language reference · section 1
1. Philosophy
pin is beautiful, easy to read and understand, and human friendly. Every design decision is judged against these three words.
Feature: Philosophy
Scenario: The reader decides between reader and writer
Given a choice between saving the writer a keystroke and saving the reader a moment of doubt
When the design is decided
Then the reader wins
Scenario: Every proposal passes the design test
Given a proposal for syntax, semantics, formatting, or an error message
When the proposal is reviewed
Then the proposal must pass every question in the design test
Design test
- Can a reader understand each line without a lookup table?
- Is there exactly one spelling for this idea?
- Does the code say what it means?
- Does an error message tell the writer what to do next?
If the answer to any question is no, the proposal must change.