I know this is a controversial topic, but nonetheless it deserves some attention.
I wrote a book about style guides for Object Pascal, after so many years in different projects with different approaches into coding style. Being a Certified Delphi Developer I would of course prefer a formalized style guide, but with colleagues rarely aware of style guides available, it has been difficult to work in environments with changing degree of arbitrariness.
Beside raising awareness of available style guides, the book has been an exercise in writing a book. Obviously, it takes some time to write a book, and the experience will determine a pursue into 3-4 other titles about programming.
This book is free and although written in English, it is not my mother tongue, and thus lacking proofreading. Being a free book proofreading by professionals in English was not and option.
I hope this can be of some help in a more pragmatic view of coding styles, or a more professional approach to style guides. At least it cost nothing. The book in PDF format is available at: