Skip to content
This repository has been archived by the owner on Dec 21, 2023. It is now read-only.

Newline before else #30

Closed
matklad opened this issue Aug 31, 2016 · 2 comments
Closed

Newline before else #30

matklad opened this issue Aug 31, 2016 · 2 comments

Comments

@matklad
Copy link

matklad commented Aug 31, 2016

No new line

if (foo) {
    bar
} else {
    baz
}
@matklad
Copy link
Author

matklad commented Aug 31, 2016

new line:

if (foo) {
    bar
} 
else {
    baz
}

@yole
Copy link
Contributor

yole commented Dec 21, 2017

The current style guide states that newlines before else and similar keywords are not used.

@yole yole closed this as completed Dec 21, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants