Return-Path: X-Original-To: apmail-apex-dev-archive@minotaur.apache.org Delivered-To: apmail-apex-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id C1A19187D0 for ; Wed, 18 Nov 2015 02:37:11 +0000 (UTC) Received: (qmail 53994 invoked by uid 500); 18 Nov 2015 02:37:11 -0000 Delivered-To: apmail-apex-dev-archive@apex.apache.org Received: (qmail 53929 invoked by uid 500); 18 Nov 2015 02:37:11 -0000 Mailing-List: contact dev-help@apex.incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@apex.incubator.apache.org Delivered-To: mailing list dev@apex.incubator.apache.org Received: (qmail 53917 invoked by uid 99); 18 Nov 2015 02:37:11 -0000 Received: from Unknown (HELO spamd3-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 18 Nov 2015 02:37:11 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd3-us-west.apache.org (ASF Mail Server at spamd3-us-west.apache.org) with ESMTP id BA8FA18017A for ; Wed, 18 Nov 2015 02:37:10 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd3-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 2.98 X-Spam-Level: ** X-Spam-Status: No, score=2.98 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, HTML_MESSAGE=3, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=disabled Authentication-Results: spamd3-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=datatorrent-com.20150623.gappssmtp.com Received: from mx1-us-west.apache.org ([10.40.0.8]) by localhost (spamd3-us-west.apache.org [10.40.0.10]) (amavisd-new, port 10024) with ESMTP id GIXmkMsEY3FW for ; Wed, 18 Nov 2015 02:36:59 +0000 (UTC) Received: from mail-wm0-f51.google.com (mail-wm0-f51.google.com [74.125.82.51]) by mx1-us-west.apache.org (ASF Mail Server at mx1-us-west.apache.org) with ESMTPS id A279220FF5 for ; Wed, 18 Nov 2015 02:36:58 +0000 (UTC) Received: by wmww144 with SMTP id w144so52647040wmw.0 for ; Tue, 17 Nov 2015 18:36:57 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=datatorrent-com.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=ULR7Db975xcOrWGme9La1zXgQluQAogPEGxHYUHYD2Q=; b=hbfoKaTOoYR+bjHBfcYFIquh4JsA2IlSmHAQcxuM2/R82DXLvpJ9ocjYROQE1JJ54L 3TuJo+c8RzvTX4I615QxjU7FJGhRBsoqJrMgjcWRGnJOr9L9du2M1HFmlGGxyjP09NXr xiuLH8Rpt37AIjUhBMXA/qQlSV2eZ8SgM3HxmKPUVwQDv1wy6DhkeOW4GaNVNtuYdYNd GbPJR/EbBZq3ECp8Me3xVo6kyx/8WH0TVVSSDG/guClwlP9258ZTbSUHgF9nu0D4XOnO gmaxrUxWKGmolwwxqjwEmTFgaGFWaxEK+LJ/7Nb2wrPlc8Ig8bKyWQFpO4kjwjy0YBvL UXvQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:content-type; bh=ULR7Db975xcOrWGme9La1zXgQluQAogPEGxHYUHYD2Q=; b=heWDJR6UQN+QXffF0f8NAM1RDnG0PSlCznLi9gOVPBjcR+bmo4cQJqjuIl6bppuHKV 6d7J8OzFuwmBg3klttrmIBIqzw3reSYcPKnjZw1xiKE+BLHZ6iufQfyYdrQITzZEQJmH h0Vho1Ln3O4zDme1xUsobLJZeWEACb195+tgS1O+SZA6QozPC+uE5wP6zmIeoHeMVlx6 PXcPPdOpdtevfannNhM6cSh4sn/jOIXun2uWGvqnYZKd+Q3WS3x/mCDrKp5OlsSzokX1 /4hg8RwULbL+wvLs0+hkGMQDgndkYyCtNzlYCNKXtyMGkOtWOi4JiBQ+WHmr+rRtVZkc EDJA== X-Gm-Message-State: ALoCoQkvTMU9c9HV8xWl9sitlbFQ07WI+fi4ItCHnXVmRCqGxO8ZluayGvE20z2kacB3sMMx/8pS MIME-Version: 1.0 X-Received: by 10.28.127.141 with SMTP id a135mr5967515wmd.69.1447814217316; Tue, 17 Nov 2015 18:36:57 -0800 (PST) Received: by 10.28.127.209 with HTTP; Tue, 17 Nov 2015 18:36:57 -0800 (PST) In-Reply-To: References: <95895BF14D8F9440BE1D6043012551A6053DC53F@KDCPEXCMB13.cof.ds.capitalone.com> Date: Tue, 17 Nov 2015 18:36:57 -0800 Message-ID: Subject: Re: Extent of attention to code style in code reviews From: Chandni Singh To: dev@apex.incubator.apache.org Content-Type: multipart/alternative; boundary=001a11420af41fd5ac0524c784ef --001a11420af41fd5ac0524c784ef Content-Type: text/plain; charset=UTF-8 Hey David, In my pull request, I was fixing checkstyle violations. The lines were broken as per my IDE settings. In order to satisfy everyone's comment I had to go and tweak the settings however I don't think we achieve anything by that. I checked Netbeans and eclipse and they don't have as many options as IntelliJ. So then what does the developer do? Manually go and break the line where it is desired by the reviewer? The pull request I created is closed and I think individual owners need to go and fix the style. However I am concerned if this is the level of review done on pull requests of a feature. I agree with Tim completely. We have more important items to work on. Thanks, Chandni On Tue, Nov 17, 2015 at 6:26 PM, Thomas Weise wrote: > +1 for not boiling the ocean. There are more important items on the > roadmap. > > -- > sent from mobile > On Nov 17, 2015 6:21 PM, "Munagala Ramanath" wrote: > > > Agree completely. Let's go with what check style can check and not > > worry about the > > rest. > > > > Ram > > > > On Tue, Nov 17, 2015 at 6:02 PM, Timothy Farkas > > wrote: > > > I think we already have a consistent style adopted and it is > sufficient. > > > There are bigger priorities for the project than enforcing the optimal > > way > > > to format wrapped lines or other similar things. Frankly we should be > > > focusing on adding more unit tests, fixing bugs, and fixing features > that > > > aren't fault tolerant (property setting). > > > > > > Just my opinion, > > > Tim > > > > > > On Tue, Nov 17, 2015 at 5:45 PM, Ganelin, Ilya < > > Ilya.Ganelin@capitalone.com> > > > wrote: > > > > > >> As long as there is consistency between code style and check style > > that's > > >> all that should matter. If consistency is impossible, then the check > > style > > >> shouldn't exist imo. > > >> > > >> > > >> > > >> Thank you, > > >> Ilya Ganelin > > >> > > >> > > >> > > >> -----Original Message----- > > >> From: Chandni Singh [chandni@datatorrent.com > >> chandni@datatorrent.com>] > > >> Sent: Tuesday, November 17, 2015 08:24 PM Eastern Standard Time > > >> To: dev@apex.incubator.apache.org > > >> Subject: Extent of attention to code style in code reviews > > >> > > >> > > >> Since we are getting religious about code styles and concerns are > being > > >> raised about wrapping lines in a better way to improve readability, I > > think > > >> this is one place we can learn from some other apache projects. > > >> > > >> https://flink.apache.org/contribute-code.html#code-style > > >> > > >> https://maven.apache.org/developers/conventions/code.html > > >> > > >> https://wiki.apache.org/cassandra/CodeStyle > > >> > > >> IMO none of these projects are enforcing style to the extent we have > > >> adopted. > > >> I think if we start focussing on style to this extent, that is, where > > to > > >> break a line while wrapping, then our review process will result in > more > > >> frustration. I think this doesn't help the community to grow. > > >> > > >> Thanks, > > >> Chandni > > >> ________________________________________________________ > > >> > > >> The information contained in this e-mail is confidential and/or > > >> proprietary to Capital One and/or its affiliates and may only be used > > >> solely in performance of work or services for Capital One. The > > information > > >> transmitted herewith is intended only for use by the individual or > > entity > > >> to which it is addressed. If the reader of this message is not the > > intended > > >> recipient, you are hereby notified that any review, retransmission, > > >> dissemination, distribution, copying or other use of, or taking of any > > >> action in reliance upon this information is strictly prohibited. If > you > > >> have received this communication in error, please contact the sender > and > > >> delete the material from your computer. > > >> > > > --001a11420af41fd5ac0524c784ef--