README: add the zen of zig

This commit is contained in:
Andrew Kelley 2017-08-07 19:11:55 -04:00
parent f78ee53484
commit 221e5b188c

View file

@ -127,3 +127,14 @@ produced .gcov files.
* [zig-mode](https://github.com/AndreaOrru/zig-mode) - Emacs integration * [zig-mode](https://github.com/AndreaOrru/zig-mode) - Emacs integration
* [zig.vim](https://github.com/zig-lang/zig.vim) - Vim configuration files * [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 * [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.