3 ms·
What is K&R? It's referenced several times but not defined.
by hughes 10y ago
What is K&R? It's referenced several times but not defined.
- aanm1988 10y agoKernighan and Ritchie, the C Programming Language. https://en.wikipedia.org/wiki/The_C_Programming_Language https://en.wikipedia.org/wiki/The_C_Programming_Language
- deleted 10y ago[deleted]
- nbclark 10y ago"The other issue that always comes up in C styling is the placement of braces. Unlike the indent size, there are few technical reasons to choose one placement strategy over the other, but the preferred way, as shown to us by the prophets Kernighan and Ritchie, is to put the opening brace last on the line, and put the closing brace first, thusly"
- hughes 10y agoAh, missed that. Thanks.