<div dir="ltr"><div>The topic of 'C' coding style came up today. At the risk of sounding like a troll I thought I would ask if people have a favourite 'C' style guide?<br><br></div><div>Some may ask why have a style guide? My answer would be to make the code easier and quicker to understand, and less prone to the introduction of errors during maintenance by others or even the original author.<br><br></div><div>I had a quick look around a few style guides for 'C' and liked Linus on the kernel coding style. The document is reasonably brief for a complex topic, educational and believe it or not amusing in parts. However it is definitely not for a beginner.<br><br><a href="https://www.kernel.org/doc/Documentation/CodingStyle">https://www.kernel.org/doc/Documentation/CodingStyle</a><br></div><div><br></div><div>This one is really brief:<br><br><a href="https://www.arduino.cc/en/Reference/StyleGuide">https://www.arduino.cc/en/Reference/StyleGuide</a><br></div><div><br></div>Offers anyone?<br></div>