comp.lang.ada
 help / color / mirror / Atom feed
From: Simon Wright <simon@pushface.org>
Subject: Re: Design problem: generic package vs tagged subtype
Date: Thu, 01 Jul 2010 20:28:36 +0100
Date: 2010-07-01T20:28:36+01:00	[thread overview]
Message-ID: <m2k4pfxaqj.fsf@pushface.org> (raw)
In-Reply-To: i0in2n$ghs$1@tornado.tornevall.net

"Jeffrey R. Carter" <spam.jrcarter.not@spam.acm.org> writes:

> I don't really care which of these I write. But I'd much rather READ
>
> Send (Message => ...);
>
> than
>
> Send (M => ...); -- Meaningless

Quite often (IMO) there's no need to use named association *for the
first parameter* in a case like this.

   Send ("hello world", To => Server);

for example.



  reply	other threads:[~2010-07-01 19:28 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-06-30 17:52 Design problem: generic package vs tagged subtype Marek Janukowicz
2010-06-30 19:23 ` Simon Wright
2010-06-30 22:33   ` Marek Janukowicz
2010-07-01  4:13     ` naming, was " tmoran
2010-07-01  9:49       ` J-P. Rosen
2010-07-01 15:48         ` Marcelo Coraça de Freitas
2010-07-01  5:57     ` Simon Wright
2010-07-01 18:30       ` Jeffrey R. Carter
2010-07-01 19:28         ` Simon Wright [this message]
2010-07-01 19:59           ` Jeffrey R. Carter
2010-07-01 21:14             ` Per Sandberg
2010-07-02  9:25         ` Stephen Leake
2010-07-02 10:50           ` Georg Bauhaus
replies disabled

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