Uploaded image for project: 'Apache Arrow'
  1. Apache Arrow
  2. ARROW-14960

[C++] Add exception to Arrow style guide based on changes in Google style guide that we are not adopting

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • None
    • 8.0.0
    • C++

    Description

      As of https://github.com/google/styleguide/commit/7a7a2f510efe7d7fc5ea8fbed549ddb31fac8f3e the Google Style Guide no longer forbids use of mutable references for output arguments, and actually encourages using them when the output argument is not optional.

      This puts arrow c++ style out of sync since we've continued to police toward usage of pointers for output arguments. We could:

      • keep the ban and note this as a deviation from google style in development.rst
      • open JIRA(s) for deprecating/replacing pointer-output APIs where applicable

      Attachments

        Issue Links

          Activity

            People

              westonpace Weston Pace
              bkietz Ben Kietzman
              Votes:
              0 Vote for this issue
              Watchers:
              9 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 4h
                  4h