delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2012/11/02/08:36:23

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-5.8 required=5.0 tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,FREEMAIL_FROM,KHOP_RCVD_TRUST,KHOP_THREADED,RCVD_IN_DNSWL_LOW,RCVD_IN_HOSTKARMA_YE
X-Spam-Check-By: sourceware.org
MIME-Version: 1.0
In-Reply-To: <k6un7j$nbv$1@ger.gmane.org>
References: <1351606847888-94081 DOT post AT n5 DOT nabble DOT com> <20121031182143 DOT M67652 AT ds DOT net> <k6rtcp$fo8$1 AT ger DOT gmane DOT org> <20121031194051 DOT GL67410 AT justpickone DOT org> <20121101174144 DOT M43908 AT ds DOT net> <k6un7j$nbv$1 AT ger DOT gmane DOT org>
Date: Fri, 2 Nov 2012 08:36:04 -0400
Message-ID: <CA+sc5mm_h4Gcg8av3WWMgbDgaSTkx5trSW9MiM2oduRwJ3ORBg@mail.gmail.com>
Subject: Re: Command line arguments
From: Earnie Boyd <earnie AT users DOT sourceforge DOT net>
To: cygwin AT cygwin DOT com
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

On Thu, Nov 1, 2012 at 4:48 PM, Andrew DeFaria wrote:
> On 11/1/2012 10:54 AM, Brian Wilson wrote:
>>
>> I got in the habbit of always using the "{}" (even if they aren't
>> absolutely necessary) to avoid such issues on general principal.
>
> I don't think it's conducive to productivity to constantly type things that
> aren't needed for the simple sake of consistency - especially special
> characters which are by nature harder to type. As they say "a foolish
> consistency is the hobglobin of little minds". I add "syntactic sugar" only
> when required, much like a native English speaker doesn't shy away from
> things like contractions under a habit of always spelling out all words even
> if they aren't absolutely necessary... YMMV.

YMMV when it comes time for maintenance by someone other than the code
creator.  Consistency helps reduce cost and reducing company cost
helps increase my pay check.  Taking a few seconds to use {} to
delimit all variables is priceless in the world of maintenance.  As a
native English (American) speaker, I find myself more than once
expanding contractions to make myself more clear about what I want to
convey.  Contractions for contraction sake is not always a good thing.

-- 
Earnie
-- https://sites.google.com/site/earnieboyd

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019