aboutsummaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorAndrew Kelley <superjoe30@gmail.com>2017-08-07 19:11:55 -0400
committerAndrew Kelley <superjoe30@gmail.com>2017-08-07 19:11:55 -0400
commit221e5b188c4aaef9667c8e397d7fac21a8ac8fbd (patch)
treeeaf7315cfd7736354e391a81b46f59b2342f16f8 /README.md
parentf78ee534843845228910b9bfa52e810767d52fbf (diff)
downloadzig-221e5b188c4aaef9667c8e397d7fac21a8ac8fbd.tar.gz
zig-221e5b188c4aaef9667c8e397d7fac21a8ac8fbd.zip
README: add the zen of zig
Diffstat (limited to 'README.md')
-rw-r--r--README.md11
1 files changed, 11 insertions, 0 deletions
diff --git a/README.md b/README.md
index 999f79e763..6c734e3ca3 100644
--- a/README.md
+++ b/README.md
@@ -127,3 +127,14 @@ produced .gcov files.
* [zig-mode](https://github.com/AndreaOrru/zig-mode) - Emacs integration
* [zig.vim](https://github.com/zig-lang/zig.vim) - Vim configuration files
* [vscode-zig](https://github.com/zig-lang/vscode-zig) - Visual Studio Code extension
+
+## The Zen of Zig
+
+ * Communicate intent precisely.
+ * Edge cases matter.
+ * Favor reading code over writing code.
+ * Only one obvious way to do things.
+ * Runtime crashes are better than bugs.
+ * Compile errors are better than runtime crashes.
+ * Coding style is petty.
+ * Together we serve the users.