comp.lang.ada
 help / color / mirror / Atom feed
From: adam@irvine.com (Adam Beneschan)
Subject: Re: Language Choice and Coding style
Date: 1996/06/27
Date: 1996-06-27T00:00:00+00:00	[thread overview]
Message-ID: <4quk22$78@krusty.irvine.com> (raw)
In-Reply-To: dewar.835537168@schonberg

In article <dewar.835537168@schonberg> dewar@cs.nyu.edu (Robert Dewar) writes:
 >James said
 >
 >"  Except for the "Hungarian notation" silliness, the idea of
 >spellingVariableNamesLikeThis was originally a Smalltalk and/or Pascal
 >idiom, and it has become nearly universal in GUI libraries (again I
 >think because of Smalltalk's influence).  C programmers use variable names
 >
 >
 >I really think this is Pascal influence rather than Smalltalk influence,
 >since it predates the Smalltalk craze. Remember that Pascal had an
 >out-of-proportion influence on PC's because of Turbo-Pascal. The Microsoft
 >interfaces, on which many C programmers grow up, are Pascal derived (they
 >even used Pascal calling sequences, and needed special treatment from C
 >to get the calling sequence right). As I said in an earlier message, I
 >trace the StyleOfSmashingWordsTogetherWhichIDoNotLike to UCSD Pascal.

UCSD Pascal had a TURTLEGRAPHICS package for teaching graphics to
beginning programmers.  (We called it TURKEYGRAPHICS because it
gobbled up memory.)  It was very simple conceptually; you could move a
cursor around the screen, and you had a "pen" that you could raise or
lower--if the pen was down, moving the cursor would cause lines to be
drawn along the screen.

Lore has it that the UCSD Pascal code for TURTLEGRAPHICS had a Boolean
variable that would, in Ada, be written as Pen_Is_Down.  Another
variable was called Go_On.  Neither one looks very appealing when
written in all-capital letters with no underscores.  This might have
been one reason UCSD adopted the smashed-together mixed-case style
(also called "pseudo-Germanic", probably because the German language
sometimes forms nouns by smashing several words together).  This was
the best they could do, since Pascal doesn't allow underscores in
identifiers (UCSD Pascal actually did, but it was a non-standard
extension nobody used).

                                -- Adam





  parent reply	other threads:[~1996-06-27  0:00 UTC|newest]

Thread overview: 84+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1996-06-21  0:00 Language Choice and Coding style Nasser Abbasi
1996-06-21  0:00 ` David Emery
1996-06-21  0:00 ` Jerry van Dijk
1996-06-24  0:00   ` Adam Beneschan
1996-06-21  0:00 ` Louis Tribble
1996-06-21  0:00 ` The Amorphous Mass
1996-06-23  0:00   ` mfinney
1996-06-23  0:00     ` Robert Dewar
1996-06-26  0:00       ` mfinney
1996-06-23  0:00   ` Robert Dewar
1996-06-27  0:00     ` The Amorphous Mass
1996-06-27  0:00     ` Adam Beneschan [this message]
1996-06-28  0:00       ` Peter Hermann
1996-06-28  0:00         ` Robert Dewar
1996-07-02  0:00           ` John McCabe
1996-06-28  0:00         ` John McCabe
1996-06-28  0:00         ` Robert A Duff
1996-06-29  0:00           ` Samuel Mize
1996-06-29  0:00             ` Robert Dewar
1996-07-04  0:00               ` Peter Hermann
1996-07-04  0:00                 ` Robert Dewar
1996-07-05  0:00                   ` software engineering and the notion of authorship Fergus Henderson
1996-07-08  0:00                     ` Jakob Engblom
1996-07-08  0:00                       ` Fergus Henderson
1996-07-09  0:00                         ` Richard A. O'Keefe
1996-07-09  0:00                           ` Fergus Henderson
1996-07-11  0:00                           ` Paul Eggert
1996-07-08  0:00                       ` John Byerly
1996-07-08  0:00                       ` The Amorphous Mass
1996-07-08  0:00                         ` Robert Dewar
1996-07-08  0:00                     ` Peter Hermann
1996-07-15  0:00                     ` Ralph Silverman
1996-07-15  0:00                       ` Fergus Henderson
1996-07-17  0:00                       ` Robert Dewar
1996-07-19  0:00                         ` Mike Curtis
1996-07-05  0:00                   ` Language Choice and Coding style John McCabe
1996-07-04  0:00               ` Dan Evens
1996-07-04  0:00               ` John McCabe
1996-07-02  0:00             ` John McCabe
1996-07-02  0:00               ` Samuel Mize
1996-07-03  0:00                 ` John McCabe
1996-07-03  0:00                 ` Jeff Dege
1996-07-03  0:00                   ` Robert Dewar
1996-07-04  0:00                     ` John McCabe
1996-07-04  0:00                     ` Phil Howard
1996-07-04  0:00                       ` Peter Hermann
1996-07-06  0:00       ` Laurent Guerby
1996-07-19  0:00       ` software engineering and the notion of authorship Andrew Gierth
1996-06-21  0:00 ` Language Choice and Coding style Robert Dewar
1996-06-24  0:00   ` Dr. John B. Matthews
1996-06-21  0:00 ` Giuliano Carlini
1996-06-21  0:00 ` David Weller
     [not found] ` <4qeu56$52r@news.interpath.net>
1996-06-23  0:00   ` Nasser Abbasi
1996-06-23  0:00 ` Darin Johnson
1996-06-24  0:00 ` Andreas Schoter
1996-06-24  0:00 ` John McCabe
1996-06-24  0:00   ` Adam Beneschan
1996-06-24  0:00   ` Peter Hermann
1996-07-01  0:00     ` Alan Brain
1996-07-02  0:00       ` John McCabe
1996-06-26  0:00   ` Nasser Abbasi
1996-06-26  0:00   ` Ian Ward
1996-06-24  0:00 ` Michael R. Hartwig
1996-06-24  0:00 ` Theodore E. Dennison
1996-06-29  0:00 ` Samuel Mize
1996-07-01  0:00   ` Richard A. O'Keefe
1996-07-02  0:00     ` Samuel Mize
1996-07-03  0:00       ` Robert Dewar
1996-07-08  0:00     ` ++           robin
1996-06-29  0:00 ` Rich Maggio
1996-07-02  0:00 ` Nasser Abbasi
1996-07-03  0:00   ` steidl
1996-07-05  0:00     ` Samuel Mize
1996-07-06  0:00     ` N. L. Sizemore
1996-07-08  0:00       ` steidl
     [not found] ` <JSA.96Jun26141502@organon.com>
1996-07-01  0:00   ` Russel A Hill
1996-07-01  0:00     ` Robert Dewar
1996-07-08  0:00       ` Russel A Hill
1996-07-02  0:00     ` Richard A. O'Keefe
1996-07-02  0:00   ` Jon S Anthony
1996-07-03  0:00   ` Mark Eichin
     [not found] <835824850.11044.0@assen.demon.co.uk>
1996-06-27  0:00 ` Ian Ward
1996-06-27  0:00   ` John McCabe
  -- strict thread matches above, loose matches on Subject: below --
1996-07-05  0:00 Robert C. Leif, Ph.D.
replies disabled

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