]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Add a style guideline for "&&", "||", and "!".
authorDavid Wells <drwells@vt.edu>
Tue, 28 Apr 2015 02:22:41 +0000 (22:22 -0400)
committerDavid Wells <drwells@vt.edu>
Tue, 28 Apr 2015 14:09:24 +0000 (10:09 -0400)
doc/doxygen/headers/coding_conventions.h

index 981a9c0c5d3c41312dd241065f64e39c141da059..cf8d091f3cdfb0a35f968e44836e97d3ecdc6652 100644 (file)
@@ -60,6 +60,10 @@ style guidelines outlined in this page.</p>
   functions which clear bits of flags should be named <code>clear_*</code>.
   Example: CellIterator::set_refine_flag().</li>
 
+<li> Traditional logical operators should be used instead of their English
+  equivalents (i.e., use <code>&&</code>, <code>||</code>, and <code>!</code>
+  instead of <code>and</code>, <code>or</code>, and <code>not</code>).
+
 <li> In the implementation files, after each function, at least three
   empty lines are expected to
   enable better readability. One empty line occurs in functions to

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.