- Cortex is
expression-oriented:
conditionals, matches and blocks produce values. Declarations and
effect-oriented loops remain statements.
- Errors are values
- Principle of least surprise
- defaults represent most common cases
- existing conventions and idioms are adopted
- Robustness Principle: be conservative in what you send, liberal in what you accept
- Clarity over brevity.
- Prefer one idiomatic way to express a concept.
- Regularity and Orthogonality. Define a small number of concepts and allow
them to be combined without restrictions.