All sources should be written with Allman style.
The Allman style is named after Eric Allman. It is sometimes referred to as “ANSI style” for its use in the documents describing the ANSI C standard. Proponents of this style often cite its use by ANSI and in other standards as justification for its adoption.
The style puts the brace associated with a control statement on the next line, indented to the same level as the control statement. Statements within the braces are indented to the next (...) Read more »