[
https://issues.apache.org/jira/browse/MESOS-3786?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15019239#comment-15019239
]
Timothy Chen commented on MESOS-3786:
-------------------------------------
commit 7e81e50dfac7309b9d75040c353e40ebed2f2ae0
Author: Greg Mann <[email protected]>
Date: Fri Nov 20 17:04:49 2015 -0800
Added backtick usage in comments to the C++ style guide.
Review: 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)