Skip to content

Commit 5a83296

Browse files
committed
📚 Semantics: first minimal start of section
1 parent 3dcf21e commit 5a83296

File tree

2 files changed

+11
-0
lines changed

2 files changed

+11
-0
lines changed

‎docs/semantics.md‎

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
# Semantics
2+
3+
> You may be sure, my dear Cebes, that inaccurate language is not only itself a mistake; it implants evil in men's souls.
4+
> - [Socrates](https://www.jstor.org/stable/pdf/1398850.pdf)
5+
6+
- **Localized** code: Keep meaning and effects close to where they’re used. Prefer small, single-purpose functions, tight scopes, and minimal globals so behavior is easy to reason about and change safely.
7+
8+
## Acronyms
9+
10+
- **EAFP**: Easier to ask forgiveness than permission - write the straightforward operation and handle the specific failure (`try`/`except`) instead of pre-checking.

‎mkdocs.yml‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,4 +10,5 @@ nav:
1010
- index.md
1111
- design.md
1212
- dev-standards.md
13+
- semantics.md
1314
- developer.md

0 commit comments

Comments
 (0)