comp.lang.ada
 help / color / mirror / Atom feed
From: kenner@lab.ultra.nyu.edu (Richard Kenner)
Subject: Re: Some questions about Ada.
Date: 1996/05/04
Date: 1996-05-04T00:00:00+00:00	[thread overview]
Message-ID: <4mfl9c$1p8@news.nyu.edu> (raw)
In-Reply-To: dewar.831213757@schonberg


In article <dewar.831213757@schonberg> dewar@cs.nyu.edu (Robert Dewar) writes:
>However, I think that having case sensitivity in languages is a very
>bad idea. For one thing it makes it  very difficult to talk verbally about
>programs, and if people really start defining identifiers like
>Time_of_Day and Time_OF_Day to mean different things, then it damages
>readability badly.

A counterexample to that, with which I mostly agree, are some C coding
conventions where the kind of thing is determined by the casing of the
first letter.  I've seen this sort of thing in the sources of some CAD
systems.  For example:

typedef struct wire {...} Wire;
typedef struct signal {...} Signal;

I've also seen this done with macros that call functions vs the function
they, internal and external versions of a function, etc.

I think this can be a very useful convention if it is followed
uniformly.  I can't offhand think of an Ada analog for such a
convention, though.




  reply	other threads:[~1996-05-04  0:00 UTC|newest]

Thread overview: 35+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1996-05-02  0:00 Some questions about Ada Carl Laurence Gonsalves
1996-05-02  0:00 ` Dave Jones
1996-05-03  0:00   ` Spencer Allain
1996-05-03  0:00   ` Darren C Davenport
1996-05-03  0:00   ` Carl Laurence Gonsalves
1996-05-03  0:00     ` Robert A Duff
1996-05-03  0:00     ` Michael Feldman
1996-05-03  0:00     ` Dave Jones
1996-05-03  0:00     ` Adam Beneschan
1996-05-04  0:00       ` Robert Dewar
1996-05-04  0:00         ` Richard Kenner [this message]
1996-05-04  0:00           ` Robert Dewar
1996-05-05  0:00             ` Richard Kenner
1996-05-05  0:00               ` Robert Dewar
1996-05-04  0:00         ` Kevin D. Heatwole
1996-05-04  0:00         ` Robert A Duff
1996-05-04  0:00           ` Robert Dewar
1996-05-05  0:00             ` Robert A Duff
1996-05-05  0:00               ` Arthur Evans Jr
1996-05-05  0:00                 ` Robert Dewar
1996-05-05  0:00                 ` Robert Dewar
1996-05-06  0:00                   ` Norman H. Cohen
1996-05-06  0:00                     ` David Weller
1996-05-07  0:00                       ` Robert Dewar
1996-05-12  0:00                         ` Geert Bosch
1996-05-06  0:00                 ` Christopher J. Henrich
1996-05-06  0:00         ` Norman H. Cohen
1996-05-06  0:00           ` Robert Dewar
1996-05-04  0:00       ` Carl Laurence Gonsalves
1996-05-06  0:00     ` Laurent Guerby
1996-05-06  0:00   ` Matthew M. Lih
1996-05-09  0:00     ` Dave Jones
1996-05-02  0:00 ` Robert A Duff
1996-05-03  0:00 ` Laurent Guerby
1996-05-03  0:00   ` Robert A Duff
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox