comp.lang.ada
 help / color / mirror / Atom feed
From: "Nick Roberts" <Nick.Roberts@dial.pipex.com>
Subject: Re: miniscences
Date: 1998/01/17
Date: 1998-01-17T00:00:00+00:00	[thread overview]
Message-ID: <01bd239f$50528740$99fd82c1@xhv46.dial.pipex.com> (raw)
In-Reply-To: dewar.884996680@merv


I do a lot of training of Ada programmers (no more jokes about the blind
leading the blind, please :-}.  I shall have to add this one to the list
(it gets longer and longer :-|  You say this is an old idiom: how old? 
[Uncle Nicky nearly goes back to when the only things programmed were
programmed with pins in boards]  I remember the days when it wowed us when
we could put MID$ on the left.  And when Crystal (remember them?) had got
their BASIC into a 6K ROM.  [Here we go...]  I remember the days [pillow
hits head] who threw that?  Oooh yes, I was once the proud owner of the
original Sinclair computer (can't even remember what it was called now). 
You know, the one with 1K of RAM, of which three-quarters was needed for
displaying a screenful of info?  Ah, those were the days.  None your unary
operators then.  Those days it was lone operators.  Ever tried getting a
real BASIC program into 300-400 bytes?  Ah yes, you had to be a _man_ to
program those days.  Ah, yes [another pillow] who threw that?  [Etc...]

-- 

Nick Roberts
Croydon, UK

Proprietor, ThoughtWing Software; Independent Software Development
Consultant
* Nick.Roberts@dial.pipex.com * Voicemail & Fax +44 181-405 1124 *
*** Eats three shredded spams every morning for breakfast ***


Robert Dewar <dewar@merv.cs.nyu.edu> wrote in article
<dewar.884996680@merv>...
> Indeed the use of the "+" notation assumes that programmers are familiar
> with this idiom. It is an old one which was well understood at the time
of
> the original design, and I would have thought it was pretty universally
> known. Certainly it is something that all Ada programmers should be
familiar
> with. Even if you don't like to use it yourself, you are highly likely to
> run into code that does use this convention.
> 
> I certainly agree that the use of idioms like this is often quite
dependent
> on familiarity. 
> 
> Of course in this particular case, it seems to me that a programmer
> who was unfamiliar with this notation would quickly find out what was
> going on. You encounter the operator +, and in the normal manner, seek
> out its definition (using whatever special tools ytou have to help with
> this). Then the spec of this "+" will of course have comments explaining
> the use.
> 
> Anyway, it is clear that one benefit of this thread is that at least the
> current readers of CLA are now familiar with this very standard idiom,
> whether or not they choose to use it themselves :-)





  reply	other threads:[~1998-01-17  0:00 UTC|newest]

Thread overview: 40+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1998-01-11  0:00 renaming Interfaces.Java.Ada_To_Java_String to the + operator Terry J. Westley
1998-01-10  0:00 ` Robert Dewar
1998-01-10  0:00   ` Matthew Heaney
1998-01-13  0:00     ` Tom Moran
1998-01-13  0:00       ` Stephen Leake
1998-01-13  0:00         ` Nick Roberts
1998-01-13  0:00       ` Stephen Leake
1998-01-13  0:00       ` Robert Dewar
     [not found]       ` <En3Cxz.7HD@world.std.com>
1998-01-20  0:00         ` Robert Dewar
1998-01-21  0:00           ` Stephen Leake
1998-01-22  0:00           ` Robert Dewar
1998-01-22  0:00             ` Anonymous
     [not found]               ` <dewar.885498969@merv>
1998-01-23  0:00                 ` Geert Bosch
1998-01-23  0:00                 ` Tom Moran
1998-01-23  0:00             ` Anonymous
1998-01-24  0:00             ` Tucker Taft
1998-01-11  0:00   ` Chris Morgan
1998-01-11  0:00     ` Robert Dewar
1998-01-11  0:00       ` Chris Morgan
1998-01-11  0:00         ` Robert Dewar
1998-01-11  0:00           ` Chris Morgan
1998-01-11  0:00             ` Robert Dewar
1998-01-11  0:00 ` Nick Roberts
1998-01-11  0:00   ` Robert Dewar
1998-01-14  0:00     ` Anonymous
1998-01-14  0:00       ` Robert Dewar
1998-01-11  0:00   ` Brian Rogoff
1998-01-13  0:00     ` Terry J. Westley
1998-01-14  0:00       ` Robert Dewar
1998-01-15  0:00         ` Nick Roberts
1998-01-15  0:00           ` Robert Dewar
1998-01-16  0:00           ` Michael F Brenner
1998-01-16  0:00             ` Robert Dewar
1998-01-16  0:00             ` Nick Roberts
1998-01-16  0:00               ` Robert Dewar
1998-01-17  0:00                 ` Nick Roberts [this message]
1998-01-17  0:00                   ` miniscences Robert Dewar
1998-01-19  0:00                 ` renaming Interfaces.Java.Ada_To_Java_String to the + operator Anonymous
1998-01-25  0:00                   ` Matthew Heaney
1998-01-12  0:00 ` Tucker Taft
replies disabled

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