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/11/17 01:00:14 UTC
[jira] [Commented] (MESOS-3786) Backticks are not mentioned in
Mesos C++ Style Guide
[ https://issues.apache.org/jira/browse/MESOS-3786?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15007664#comment-15007664 ]
Greg Mann commented on MESOS-3786:
----------------------------------
Review here: https://reviews.apache.org/r/40367/
> 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
> Labels: documentation, mesosphere
>
> 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)