Commit c803d334d0

Andrew Kelley <andrew@ziglang.org>
2020-09-15 22:40:01
update the zen of zig
1 parent b2860aa
Changed files (2)
doc
src-self-hosted
doc/langref.html.in
@@ -11392,8 +11392,9 @@ keyword &lt;- KEYWORD_align / KEYWORD_and / KEYWORD_anyframe / KEYWORD_anytype
         <li>Incremental improvements.</li>
         <li>Avoid local maximums.</li>
         <li>Reduce the amount one must remember.</li>
-        <li>Minimize energy spent on coding style.</li>
-        <li>Resource deallocation must succeed.</li>
+        <li>Focus on code rather than style.</li>
+        <li>Resource allocation may fail; resource deallocation must succeed.</li>
+        <li>Memory is a resource.</li>
         <li>Together we serve the users.</li>
       </ul>
       {#header_close#}
src-self-hosted/main.zig
@@ -1617,8 +1617,9 @@ pub const info_zen =
     \\ * Incremental improvements.
     \\ * Avoid local maximums.
     \\ * Reduce the amount one must remember.
-    \\ * Minimize energy spent on coding style.
-    \\ * Resource deallocation must succeed.
+    \\ * Focus on code rather than style.
+    \\ * Resource allocation may fail; resource deallocation must succeed.
+    \\ * Memory is a resource.
     \\ * Together we serve the users.
     \\
     \\