JaroslawWiosna / regionalizer

How to choose the best capital of a state and regions? Divider into regions, especially for administrative purposes
Mozilla Public License 2.0
2 stars 2 forks source link

clean code for namespaces in c++ & java #45

Closed kermit10000000 closed 6 years ago

kermit10000000 commented 6 years ago

Descrpition

clean code for namespaces


Release affected

zero effect for functionality


Priority

unknown


Is there possible contributor who could fix the issue

unknown


JaroslawWiosna commented 6 years ago

@kermit10000000 If you are talking about indentiation level for namespaces:

namespace foo {

void bar() {
    int baz{};
}

} // namespace

That's OK.


Below you can find an example of bad code style:

namespace foo {
    // THIS LEVEL OF INDENTIATION IS BAD!
   void bar() {
       int baz{};
    }

} // namespace

Please, read here: https://google.github.io/styleguide/cppguide.html#Namespaces

kermit10000000 commented 6 years ago

Ok, I see now :)