Engines Quote by Larry Wall
“Think of prototypes as a funny markup language--the interpretation is left up to the rendering engine.”
About This Quote
Source Interview: Perl creator Larry Wall, 2002
Prototypes are a flexible, abstract way to describe structures, leaving their exact behavior to the interpreter.
In simple terms: Prototypes are like a sketch that the engine fills in.
Use prototypes to define adaptable interfaces.
Themes
Mood
Type
When to use this quote
- API design
- code reuse
- library development
Key Concepts
Questions to Reflect On
- How does your language handle prototype resolution?
- When is a prototype better than a concrete type?
Prototypes can cause confusion if not documented.