aboutsummaryrefslogtreecommitdiff
path: root/docs/CODE_STYLE.md
AgeCommit message (Collapse)Author
2016-10-18s/cURL/curlDaniel Stenberg
The tool was never called cURL, only the project. But even so, we have more and more over time switched to just use lower case.
2016-09-12CODE_STYLE: fix long-line guidelineJay Satiro
- Change maximum allowed line length from 80 to 79.
2016-09-11CODE_STYLE: add column alignment sectionJay Satiro
Note that since the added examples are for column alignment I had to encapsulate with ~~~c markdown to preserve their alignment.
2016-04-09CODE_STYLE: Added ternary operator example to 'Space around operators'Steve Holme
Following conversation on the libcurl mailing list.
2016-03-22CODE_STYLE: indend example codeDaniel Stenberg
... to make it look nicer in markdown outputa
2016-03-20CODE_STYLE: Use boolean conditionsSteve Holme
Rather than use TRUE, FALSE, NULL, 0 or != 0 in if/while conditions. Additionally, corrected some example code to adhere to the recommended coding style.
2016-03-14CODE_STYLE: Space around operatorsDaniel Stenberg
As just discussed on the mailing list, also document how we prefer spacing in expressions.
2016-03-14CODE_STYLE: add example for indent style as wellDaniel Stenberg
2016-03-14CODE_STYLE: mention braces for functions tooDaniel Stenberg
2016-03-14CODE_STYLE: initial versionDaniel Stenberg
Ripped out from CONTRIBUTE into its own document, but also extended from there.