Skip to content

Commit 9952e16

Browse files
authored
Merge pull request #381 from DaniBodor/patch-1
Consistent confusing characters examples
2 parents 9922f5b + b8ca036 commit 9952e16

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

_episodes/15-coding-conventions.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -325,9 +325,9 @@ Failing that, just pick one, document it and stick to it.
325325
326326
Some things to be wary of when naming things in the code:
327327
328-
- Avoid any names that could cause confusion (e.g. lower case `l` is
329-
hard to distinguish from a `1` (one), 'O' (uppercase o) from a '0' (zero),
330-
'I' (uppercase i) from 'l' (lowercase L)).
328+
- Avoid any names that could cause confusion (e.g. `l` (lower case L) is
329+
hard to distinguish from a `1` (one), `O` (uppercase o) from a `0` (zero),
330+
`I` (uppercase i) from `l` (lowercase L)).
331331
- Avoid using non-ASCII (e.g. Unicode) characters for identifiers as these
332332
can trip up software that does not support Unicode.
333333
- If your audience is international and English is the common language,

0 commit comments

Comments
 (0)