comp.lang.ada
 help / color / mirror / Atom feed
From: Jim Rogers <jimmaureenrogers@worldnet.att.net>
Subject: Re: Style: always declare subrountines?
Date: Sat, 09 Nov 2002 14:34:54 GMT
Date: 2002-11-09T14:34:54+00:00	[thread overview]
Message-ID: <3DCD1CB6.4010207@worldnet.att.net> (raw)
In-Reply-To: 3dcd1752$0$305$bed64819@news.gradwell.net

Victor Porton wrote:

> [Posted and mailed]
> 
> In article <mailman.1036840502.30553.comp.lang.ada@ada.eu.org>,
> 	sk <noname@myob.com> writes:
> 
>>Hi, 
>>
>>
>>>... an internal subrountine with the same specification 
>>>as a not yet implemented public procedure ...
>>>
>>The "internal subroutine" IS the implementation of the 
>>"public procedure". 
>>
>>You will not be permitted, by the compiler to do the 
>>following ...
>>
> 
> You misunderstood. I'm about the case when one has forgotten
> to write the definition of the "public procedure", but
> written in the body a "private procedure" with the same
> specification.
> 

I personally do not think you should create style rules to try
to cover for bad design. Instead, you should improve your design
process. Your design process should make sure your package
specifications are correct before you build your package bodies.

Jim Rogers




  reply	other threads:[~2002-11-09 14:34 UTC|newest]

Thread overview: 28+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-11-09  6:39 Style: always declare subrountines? Victor Porton
2002-11-09 11:09 ` sk
2002-11-09 12:34 ` Victor Porton
2002-11-09 14:34   ` Jim Rogers [this message]
2002-11-09 14:53   ` sk
2002-11-09 15:36 ` Robert A Duff
2002-11-09 16:16 ` Frank J. Lhota
2002-11-09 16:28 ` chris.danx
2002-11-09 18:36 ` Simon Wright
2002-11-12 17:31 ` Stephen Leake
2002-11-18  1:52 ` ;Re: " Richard Riehle
2002-11-28 10:32   ` John English
2002-11-28 12:52     ` Lutz Donnerhacke
2002-12-03 11:15       ` John English
2002-12-03 12:22         ` Lutz Donnerhacke
2002-12-03 13:11           ` John English
2002-12-03 14:31             ` Robert A Duff
2002-12-03 14:41               ` Lutz Donnerhacke
2002-11-28 17:49     ` Vincent Marciante
2002-12-03 11:09       ` John English
2002-11-28 18:45     ` "private with" proposal Vincent Marciante
2002-11-28 20:12       ` David C. Hoos, Sr.
2002-11-29  4:28         ` Vincent Marciante
2002-12-01  1:00           ` Dale Stanbrough
2002-12-02 18:20       ` Stephen Leake
2002-12-03  5:37         ` Vincent Marciante
2002-12-03 19:24           ` Randy Brukardt
2002-12-04  3:52             ` Vincent Marciante
replies disabled

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