1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-12-21 04:50:55 +01:00

Don't say "K&R style" in coding conventions

Summary: We technically don't use K&R. These documents and the rest of the codebase are full of examples of the correct style, which should be unambiguous to a reasonable reader.

Test Plan: reading

Reviewers: staticshock, btrahan

Reviewed By: btrahan

Subscribers: epriestley

Differential Revision: https://secure.phabricator.com/D11255
This commit is contained in:
epriestley 2015-01-06 10:47:37 -08:00
parent a455e50e29
commit b2e71bcb70
2 changed files with 0 additions and 2 deletions

View file

@ -18,7 +18,6 @@ guidelines, you can probably get away with skimming this document.
- Use two spaces for indentation. Don't use literal tab characters. - Use two spaces for indentation. Don't use literal tab characters.
- Use Unix linebreaks ("\n"), not MSDOS ("\r\n") or OS9 ("\r"). - Use Unix linebreaks ("\n"), not MSDOS ("\r\n") or OS9 ("\r").
- Use K&R style braces and spacing.
- Put a space after control keywords like ##if## and ##for##. - Put a space after control keywords like ##if## and ##for##.
- Put a space after commas in argument lists. - Put a space after commas in argument lists.
- Put space around operators like ##=##, ##<##, etc. - Put space around operators like ##=##, ##<##, etc.

View file

@ -19,7 +19,6 @@ guidelines, you probably don't need to read this super thoroughly.
- Use two spaces for indentation. Don't use tab literal characters. - Use two spaces for indentation. Don't use tab literal characters.
- Use Unix linebreaks ("\n"), not MSDOS ("\r\n") or OS9 ("\r"). - Use Unix linebreaks ("\n"), not MSDOS ("\r\n") or OS9 ("\r").
- Use K&R style braces and spacing.
- Put a space after control keywords like ##if## and ##for##. - Put a space after control keywords like ##if## and ##for##.
- Put a space after commas in argument lists. - Put a space after commas in argument lists.
- Put a space around operators like ##=##, ##<##, etc. - Put a space around operators like ##=##, ##<##, etc.