Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 5D921200BA9 for ; Sun, 9 Oct 2016 01:16:22 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 5C2B0160ADF; Sat, 8 Oct 2016 23:16:22 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id CCCBF160AEF for ; Sun, 9 Oct 2016 01:16:21 +0200 (CEST) Received: (qmail 57746 invoked by uid 500); 8 Oct 2016 23:16:20 -0000 Mailing-List: contact dev-help@arrow.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@arrow.apache.org Delivered-To: mailing list dev@arrow.apache.org Received: (qmail 57718 invoked by uid 99); 8 Oct 2016 23:16:20 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 08 Oct 2016 23:16:20 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 8C9EA2C0032 for ; Sat, 8 Oct 2016 23:16:20 +0000 (UTC) Date: Sat, 8 Oct 2016 23:16:20 +0000 (UTC) From: "Wes McKinney (JIRA)" To: dev@arrow.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (ARROW-112) [C++] Style fix for constants/enums MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Sat, 08 Oct 2016 23:16:22 -0000 [ https://issues.apache.org/jira/browse/ARROW-112?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15558878#comment-15558878 ] Wes McKinney commented on ARROW-112: ------------------------------------ I'd prefer to leave the enums as is and only fix the constants (macro-like naming is OK by Google: https://google.github.io/styleguide/cppguide.html#Enumerator_Names -- FWIW this is also the convention used by Kudu https://github.com/apache/kudu/blob/master/src/kudu/common/common.proto#L33 and Impala https://github.com/cloudera/Impala/blob/cdh5-trunk/be/src/runtime/types.h#L37, which are both reasonably conforming to the Google guide) > [C++] Style fix for constants/enums > ------------------------------------ > > Key: ARROW-112 > URL: https://issues.apache.org/jira/browse/ARROW-112 > Project: Apache Arrow > Issue Type: Bug > Components: C++ > Reporter: Micah Kornfield > > We should prefer kValue to VALUE according to google style guide. We should do one round of cleanup here. -- This message was sent by Atlassian JIRA (v6.3.4#6332)