pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Thomas Swan <tswan@idigx.com>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: stefan@extum.com, Martijn van Oosterhout <kleptog@svana.org>
Cc: pgsql-sql@postgresql.org
Cc: pgsql-general@postgresql.org
Subject: Re: [GENERAL] id and ID in CREATE TABLE
Date: Fri, 19 Jul 2002 10:39:32 -0500
Message-ID: <3D3832B4.2090205@idigx.com> (raw)
References: <Pine.LNX.4.44.0207201246180.3615-100000@extum.com>
	<12220.1027085465@sss.pgh.pa.us>

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <title></title>
</head>
<body>
Tom Lane wrote:<br>
<blockquote type="cite" cite="mid12220.1027085465@sss.pgh.pa.us">
  <pre wrap=""><a class="moz-txt-link-abbreviated" href="mailto:stefan@extum.com">stefan@extum.com</a> writes:
  </pre>
  <blockquote type="cite">
    <pre wrap="">But anyway this is not so important, but why upper cases are bad ?
    </pre>
  </blockquote>
  <pre wrap=""><!---->
It's well established that all-lower-case text is more readable than
all-upper-case ... at least in English; but I think the same would be
true of any language using an approximately Roman alphabet.  The problem
with upper case is there's less variation in the overall letter shape.
If you don't care to dig in the academic literature about it, here's a
simple experiment: which of the following paragraphs do you find more
readable?

	it's well established that all-lower-case text is more readable
	than all-upper-case ... at least in english; but i think the
	same would be true of any language using an approximately roman
	alphabet.  the problem with upper case is there's less variation
	in the overall letter shape.  if you don't care to dig in the
	academic literature about it, here's a simple experiment: which
	of the following paragraphs do you find more readable?

	IT'S WELL ESTABLISHED THAT ALL-LOWER-CASE TEXT IS MORE READABLE
	THAN ALL-UPPER-CASE ... AT LEAST IN ENGLISH; BUT I THINK THE
	SAME WOULD BE TRUE OF ANY LANGUAGE USING AN APPROXIMATELY ROMAN
	ALPHABET.  THE PROBLEM WITH UPPER CASE IS THERE'S LESS VARIATION
	IN THE OVERALL LETTER SHAPE. IF YOU DON'T CARE TO DIG IN THE
	ACADEMIC LITERATURE ABOUT IT, HERE'S A SIMPLE EXPERIMENT: WHICH
	OF THE FOLLOWING PARAGRAPHS DO YOU FIND MORE READABLE?

For me, at least, the second version takes noticeably more time to read
and is certainly less pleasant.  (I suppose that for a non-native
speaker of English, mental translation might slow you down to the point
where you don't notice a difference.  If so, try it on a random
paragraph in your own language.)</pre>
</blockquote>
It's a pattern recognition issue.&nbsp;&nbsp; Taken in context with your reading experience
and the general constructs of the English language in addition common usage,
you encounter far more lower case letters than upper case letters.&nbsp; It makes
sense that it would be easier to recognize the words in all lower case.&nbsp;
Secondly, your brain expects lower case letters behind the leading upper
case letter for the word.&nbsp;&nbsp; So in a sense you backtrack just a little because
it doesn't match what you expect.&nbsp;&nbsp; I'm not discounting the statements you
made, but this is one additional observation.<br>
<br>
[ In the previous paragraph there were 6 capital letters to the 471 non-capital
letters. ]<br>
<blockquote type="cite" cite="mid12220.1027085465@sss.pgh.pa.us">
  <pre wrap="">

For PostgreSQL there is also a backwards compatibility issue: if we
change this decision now, we'd cause all kinds of problems for existing
code and databases.

  </pre>
  <blockquote type="cite">
    <pre wrap="">Why then Oracle , IBM is using them and why the SQL standard is not 
changed ?
    </pre>
  </blockquote>
  <pre wrap=""><!---->
The SQL standard's choice in this matter is prehistoric; undoubtedly
it falls out of the days when computer printers only had one type case.
IBM probably still has a residual fondness for those days ;-).  But
the rest of the industry figured out that lower case was better
somewhere around 1960, cf Algol-60 which was the first language to spell
its keywords preferentially in lower case.

			regards, tom lane

---------------------------(end of broadcast)---------------------------
TIP 5: Have you checked our extensive FAQ?

<a class="moz-txt-link-freetext" href="http://www.postgresql.org/users-lounge/docs/faq.html">http://www.postgresql.org/users-lounge/...;
  </pre>
</blockquote>
<br>
<br>
</body>
</html>




view thread (17+ messages)  latest in thread

Message-ID: <3D3832B4.2090205@idigx.com>
Permalink:  ../3D3832B4.2090205@idigx.com/
Also on:    postgresql.org/message-id/3D3832B4.2090205@idigx.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-sql@postgresql.org
  Cc: tswan@idigx.com, tgl@sss.pgh.pa.us, kleptog@svana.org, pgsql-general@postgresql.org
  Subject: Re: [GENERAL] id and ID in CREATE TABLE
  In-Reply-To: <3D3832B4.2090205@idigx.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox