comp.lang.ada
 help / color / mirror / Atom feed
From: Georg Bauhaus <sb463ba@l1-hrz.uni-duisburg.de>
Subject: Re: Problems with 'class, help anyone?
Date: Wed, 6 Nov 2002 15:00:14 +0000 (UTC)
Date: 2002-11-06T15:00:14+00:00	[thread overview]
Message-ID: <aqbapu$4kj$1@a1-hrz.uni-duisburg.de> (raw)
In-Reply-To: upttjnkmb.fsf@wanadoo.fr

Pascal Obry <p.obry@wanadoo.fr> wrote:
: Well, as Stephen, I think "in" should always be there. This is also part of my
: style guide. With a nice formatting it reads very well:

No,	with	nice	formatting	it	is	easy	to
use	the	procedure	specification	as	a	lookup
table.		It	is	never	easy	to	read	text
that	is	presented	in	tabular	layout.	Lots	of
effort	have	gone	into	formatting	algorithms	that
"minimize"	space	between	words.		The	reason	is
related to	exhausting	eye	movements	when	reading.
Reading	as	opposed	to,	for	example,	browsing
an	index.

:   procedure Call
:     (P1 : in     Integer;
:      P2 : in out Integer;
:      P4 :    out Integer;
:      P3 : access Integer);

Whether this layout is helpful may depend on context.
A possible thought when "reading" Call's specification for the first time:
 ah, there is a P1, an "in" parameter of type Integer, which 
 is just read.  Then comes P2, which is inout and also an Integer.
 And what else does this procedure need? Hm, P4, another Integer, and
 this is a result parameter...
another thought, later:
 I do remember the types and such of the parameters of Call, but what has
 been the name of that out parameter? Lets see, ah, yes, P4 is the one
 I want.

In the second case (looking at something "I already know"), tabular
layout helps (me). In the first case, when reading _from left to right_,
it doesn't help (me) at all.

-- georg



  reply	other threads:[~2002-11-06 15:00 UTC|newest]

Thread overview: 34+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-10-29  4:48 Problems with 'class, help anyone? 
2002-10-29  6:08 ` Jim Rogers
2002-10-29 19:10   ` 
2002-10-30  5:27   ` 
2002-10-30  7:49     ` Simon Wright
2002-10-30  8:13     ` Jim Rogers
2002-11-02  4:02       ` 
2002-11-05  2:40       ` 
2002-11-05  4:56         ` Jim Rogers
2002-11-05 17:25           ` Stephen Leake
2002-11-05 22:29             ` Robert A Duff
2002-11-06  8:54               ` Pascal Obry
2002-11-06 15:00                 ` Georg Bauhaus [this message]
2002-11-06 17:18                   ` Stephen Leake
2002-11-07 14:14                     ` Georg Bauhaus
2002-11-06 15:19                 ` Ted Dennison
2002-11-06 17:22                   ` Stephen Leake
2002-11-07 10:32                     ` Preben Randhol
2002-11-07 15:53                       ` Stephen Leake
2002-11-06 13:48               ` John English
2002-11-07 15:07                 ` Robert A Duff
2002-11-08  9:48                   ` Dmitry A. Kazakov
2002-11-08 13:44                     ` Robert A Duff
2002-11-08 14:27                       ` Jean-Pierre Rosen
2002-11-09 18:40                       ` Dmitry A. Kazakov
2002-11-11  9:51                         ` Lutz Donnerhacke
2002-11-11 13:24                           ` Dmitry A. Kazakov
2002-11-11 13:55                             ` Lutz Donnerhacke
2002-11-09 19:02                       ` Robert A Duff
2002-11-10 17:13                         ` Dmitry A. Kazakov
  -- strict thread matches above, loose matches on Subject: below --
2002-11-09  0:11 Alexandre E. Kopilovitch
2002-11-11  9:03 Grein, Christoph
2002-11-11 15:12 Alexandre E. Kopilovitch
2002-11-12 12:20 ` Dmitry A. Kazakov
replies disabled

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