GNU Pascal Homepage - gpc - gpc-announce - gpc-de - gpc-doc
Diese Seite auf deutsch

Mail #7722 (Unformatted/full headers)

Back to main page of archive

Previous mail   Next mail   Formatted
Overview  10 days   Subject   Date   Thread   Author  

From gpc-owner@gnu.de  Sun Jan 12 23:07:06 2003
Received: from mail.ncifcrf.gov ([::ffff:129.43.100.100])
	by adele.gerwinski.de with esmtp (Exim 3.12 #1 (Debian))
	id 18XqG0-0005FG-00
	for <gpc@gnu.de>; Sun, 12 Jan 2003 23:07:04 +0100
Received: from strawberry.ncifcrf.gov (strawberry.NCIFCRF.GOV [129.43.6.74])
	by mail.ncifcrf.gov (8.11.3/8.11.3) with ESMTP id h0CM5tf01134
	for <gpc@gnu.de>; Sun, 12 Jan 2003 17:05:55 -0500 (EST)
Received: (from toms@localhost)
	by strawberry.ncifcrf.gov (8.9.3+Sun/8.9.3) id RAA03223
	for gpc@gnu.de; Sun, 12 Jan 2003 17:05:55 -0500 (EST)
From: Tom Schneider <toms@ncifcrf.gov>
Message-Id: <200301122205.RAA03223@strawberry.ncifcrf.gov>
Subject: Re: Upper/lower case in identifiers
In-Reply-To: <E18WqeO-0006zD-00@adele.gerwinski.de> from "gpc-owner@gnu.de" at "Jan 10, 2003 05:20:08 am"
To: gpc@gnu.de (gpc)
Date: Sun, 12 Jan 2003 17:05:55 -0500 (EST)
X-Mailer: ELM [version 2.4ME+ PL34 (25)]
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
X-Archive-Number: 200301/67
X-Sequence-Number: 1483

| I actually think that your existing convention (1st upper, rest
| lower) is an excellent way to resolve most things.  I am quite sure
| I don't have a grasp of the conflicting systematic

I also don't understand the conflicts, but this rule is painful.  If I
name a variable 'something' then I expect to be able to search the
error messages for 'something' but of course it got changed to
'Something'.  So if I want to cut and paste to search for the name in
my program, it fails.

Why not take the first occurence of a variable as the name to use on
all output?  Then internally have a table (as others have suggested)
mapping the first occurence to the actual one.  Flag variables that
map to the same word but which are not the same.  This way the
compiler merely demands consistency, but is 'case insensitive'.

Note:  only Germans like to capitalize all nouns!

Tom

  Dr. Thomas D. Schneider
  National Cancer Institute
  Laboratory of Experimental and Computational Biology
  Frederick, Maryland  21702-1201
  toms@ncifcrf.gov
  permanent email: toms@alum.mit.edu (use only if first address fails)
  http://www.lecb.ncifcrf.gov/~toms/

Previous mail   Next mail   Formatted
Overview  10 days   Subject   Date   Thread   Author  


Replies

Author Subject Date
Frank Heckenbach Upper/lower case in identifiers 13 Jan 2003, 19:24:22
Markus Gerwinski Upper/lower case in identifiers 14 Jan 2003, 11:13:57
Emil Jerabek Upper/lower case in identifiers 14 Jan 2003, 14:48:29
Frank Heckenbach Upper/lower case in identifiers 14 Jan 2003, 23:22:27

Back to main page of archive


Note: This page contains information that does not originate from the owner of this web site, but from the authors of the mails archived. The owner of this web site is not responsible for the content of such information. Any use of that infomation requires the consent of the respective author.

Where WWW addresses (URLs) in the mails archived are marked as hyperlinks, this is only for the comfort of the reader. The content of the web pages linked to like this does not necessarily reflect the opinion of the owner of this web site or of the authors of the mails archived. The owner of this web site is not responsible for the content of such web pages. Those pages are explicitly not to be considered as part of the content of this page, but merely as references.


This page was created by Crystal 0.999 (Linux 2.4.27/i686).