[ 
https://issues.apache.org/jira/browse/MESOS-1742?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14113151#comment-14113151
 ] 

Cody Maloney commented on MESOS-1742:
-------------------------------------

Using directives don't greatly impact compile times as opposed to other items, 
see https://issues.apache.org/jira/browse/MESOS-1734 for instance. In no 
current compiler I've looked at is it the big speed problem, esp. compared to 
code in headers and the like.

> Remove Using Directives
> -----------------------
>
>                 Key: MESOS-1742
>                 URL: https://issues.apache.org/jira/browse/MESOS-1742
>             Project: Mesos
>          Issue Type: Story
>          Components: build
>            Reporter: Jessica Hartog
>              Labels: build
>
> We tell developers to follow the Google C++ Style Guide 
> (http://google-styleguide.googlecode.com/svn/trunk/cppguide.xml) which says, 
> "Do not use a using-directive."
> At the moment 134 files in src/ do not conform to this practice.
> $ grep -r -l "using namespace" src | wc -l
> 134
> Using directives increase compile time by requiring a larger lookup space for 
> unqualified ids.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to