Fix punctuation
Not sure if any lines became too long...
This commit is contained in:
parent
5f4e98bbc7
commit
4887bb2bef
1 changed files with 3 additions and 3 deletions
|
|
@ -125,8 +125,8 @@ changed in the future.
|
||||||
Coding Conventions
|
Coding Conventions
|
||||||
------------------
|
------------------
|
||||||
|
|
||||||
- The 'return' statement should only be used when it's control-flow properties
|
- The 'return' statement should only be used when its control-flow properties
|
||||||
are required. Use a procedures implicit 'result' variable instead. This
|
are required. Use a procedure's implicit 'result' variable instead. This
|
||||||
improves readability.
|
improves readability.
|
||||||
|
|
||||||
- Prefer to return `[]` and `""` instead of `nil`, or throw an exception if
|
- Prefer to return `[]` and `""` instead of `nil`, or throw an exception if
|
||||||
|
|
@ -150,7 +150,7 @@ Conventions for multi-line statements and expressions
|
||||||
|
|
||||||
- Any tuple type declarations that are longer than one line should use the
|
- Any tuple type declarations that are longer than one line should use the
|
||||||
regular object type layout instead. This enhances the readability of the
|
regular object type layout instead. This enhances the readability of the
|
||||||
tuple declaration by splitting its members information across multiple lines.
|
tuple declaration by splitting its members' information across multiple lines.
|
||||||
|
|
||||||
.. code-block:: nim
|
.. code-block:: nim
|
||||||
type
|
type
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue