[
https://issues.apache.org/jira/browse/MESOS-2389?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14963838#comment-14963838
]
Joerg Schad commented on MESOS-2389:
------------------------------------
The styleguide already states:
'We avoid using namespace foo statements as it is not explicit about which
symbols are pulled in, and it can often pull in a lot of symbols, which
sometimes lead to conflicts.'
>From looking the code it seems that mostly the namespaces 'mesos' and
>'process' are included.
> Document the use of namespaces in style guide
> ---------------------------------------------
>
> Key: MESOS-2389
> URL: https://issues.apache.org/jira/browse/MESOS-2389
> Project: Mesos
> Issue Type: Documentation
> Reporter: Jie Yu
>
> In our style guide, we don't have an exception allowing us to use thing like:
> {code}
> using namespace process;
> {code}
> Because this is forbidden in google c++ style guide:
> http://google-styleguide.googlecode.com/svn/trunk/cppguide.html#Namespaces
> Either we need to document this exception in the style guide, or start to
> disallow that.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)