Thread Previous • Date Previous • Date Next • Thread Next |
On 10/15/19 1:41 PM, Seth Hillbrand wrote:
4) Single-line statements after if/else don't get brackets {}
Is that actually part of the kicad code standard?!? Every standard and recommendation I've ever seen recommends/requires the opposite to prevent future errors (see for instance: https://barrgroup.com/Embedded-Systems/Books/Embedded-C-Coding-Standard/General-Rules/Braces)
Moses -- And as it is appointed unto men once to die, but after this the judgment:So Christ was once offered to bear the sins of many; and unto them that look for him shall he appear the second time without sin unto salvation.
(Hebrews 9:27-28)
Thread Previous • Date Previous • Date Next • Thread Next |