COMP1927 Style
Extends the range of allowed constructs:
- layout: consistent indentation still required
- use of brackets:
- can omit if control structure owns a single statement
- put function start bracket on line after function header
- can use all C control structures
-
if , switch , while , for , break , continue
- put function start bracket on line after function header
But wait! There's more ...
|