Uploaded image for project: 'Mesos'
  1. Mesos
  2. MESOS-3786

Backticks are not mentioned in Mesos C++ Style Guide

    XMLWordPrintableJSON

Details

    • Documentation
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • None
    • None
    • None
    • Mesosphere Sprint 22
    • 1

    Description

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

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

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

      Attachments

        Activity

          People

            greggomann Greg Mann
            greggomann Greg Mann
            Adam B Adam B
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: