You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@mesos.apache.org by "Greg Mann (JIRA)" <ji...@apache.org> on 2015/10/21 20:41:27 UTC

[jira] [Created] (MESOS-3786) Backticks are not mentioned in Mesos C++ Style Guide

Greg Mann created MESOS-3786:
--------------------------------

             Summary: Backticks are not mentioned in Mesos C++ Style Guide
                 Key: MESOS-3786
                 URL: https://issues.apache.org/jira/browse/MESOS-3786
             Project: Mesos
          Issue Type: Documentation
            Reporter: Greg Mann
            Assignee: Greg Mann
            Priority: Minor


As far as I can tell, current practice is to quote code excerpts and object names with backticks when writing comments. For example:

{code}
// You know, `sadPanda` seems extra sad lately.
std::string sadPanda;
sadPanda = "   :'(   ";
{code}

However, I don't see this documented in our C++ style guide at all. It should be added.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)