Changeset View
Changeset View
Standalone View
Standalone View
src/docs/contributor/general_coding_standards.diviner
Show First 20 Lines • Show All 136 Lines • ▼ Show 20 Lines | handling and makes it easier to get right than wrong: | ||||
do_something_dangerous(); | do_something_dangerous(); | ||||
See @{article@arcanist:Command Execution} for details on the APIs used in this | See @{article@arcanist:Command Execution} for details on the APIs used in this | ||||
example. | example. | ||||
= Documentation, Comments and Formatting = | = Documentation, Comments and Formatting = | ||||
- Prefer to remove code by deleting it over removing it by commenting it out. | - Prefer to remove code by deleting it over removing it by commenting it out. | ||||
It shall live forever in source control, and can be retrieved therefrom if | It shall live forever in source control, and can be retrieved there from if | ||||
it is ever again called upon. | it is ever again called upon. | ||||
- In source code, use only ASCII printable characters plus space and linefeed. | - In source code, use only ASCII printable characters plus space and linefeed. | ||||
Do not use UTF-8 or other multibyte encodings. | Do not use UTF-8 or other multibyte encodings. |
Content licensed under Creative Commons Attribution-ShareAlike 4.0 (CC-BY-SA) unless otherwise noted; code licensed under Apache 2.0 or other open source licenses. · CC BY-SA 4.0 · Apache 2.0