Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Styling review request & PR #57

Merged
merged 2 commits into from
Feb 14, 2019
Merged

Styling review request & PR #57

merged 2 commits into from
Feb 14, 2019

Conversation

Pandry
Copy link
Contributor

@Pandry Pandry commented Feb 14, 2019

Referring to issue #51

- readability > functionality, don't be afraid of writing 5 lines of code more
- Use namespaces, the name should be about the functionality itself
- **DO NOT** use `using` (e.g. `using namespace std;`)
- At the end of namespace, comment it's end `} // namespace nsName`
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Unclear

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

"its", but you can leave just "comment".

- Align the equal sign when declaring multiple variables
- readability > functionality, don't be afraid of writing 5 lines of code more
- Use namespaces, the name should be about the functionality itself
- **DO NOT** use `using` (e.g. `using namespace std;`)
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

using is too generic

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

"using namespaces"

Copy link
Member

@AndreaIdini AndreaIdini left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ok!

- readability > functionality, don't be afraid of writing 5 lines of code more
- Use namespaces, the name should be about the functionality itself
- **DO NOT** use `using` (e.g. `using namespace std;`)
- At the end of namespace, comment it's end `} // namespace nsName`
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

"its", but you can leave just "comment".

- Align the equal sign when declaring multiple variables
- readability > functionality, don't be afraid of writing 5 lines of code more
- Use namespaces, the name should be about the functionality itself
- **DO NOT** use `using` (e.g. `using namespace std;`)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

"using namespaces"

@AndreaIdini AndreaIdini merged commit 0aacca7 into Scienza:dev Feb 14, 2019
@Pandry Pandry deleted the styling branch February 14, 2019 20:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants