Re: Upper Case in keywords.

From: Jeff Zucker <jeff_at_vpservices.com>
Date: Mon, 04 Feb 2002 09:24:08 -0800
Message-ID: <3C5EC3B8.E3078CD9_at_vpservices.com>


Larry Coon wrote:
>
> Another point -- since data names are often multiple words
> strung together, the names are often more readable if mixed
> case is used. If you force data names to upper case, it may
> be more difficult to read.

Good point. Also, if one uses indenting like so:

   SELECT foo.bar, baz.bop
     FROM foo, baz
    WHERE foo.bar = baz.bar
      AND foo.bop = baz.bop

Then the upper case keywords help you tell immediately which part of the statement is referenced and it's easy to see the logic of the statement at a glance. In long and complex statements, one wants the keywords to be most visible to be able to follow the statement's logic and one wants the data words to be most legible (i.e. mixed case) to be able to spot typos.

-- 
Jeff
Received on Mon Feb 04 2002 - 18:24:08 CET

Original text of this message