comp.lang.ada
 help / color / mirror / Atom feed
From: jakrzy@ss5.magec.com (James A. Krzyzanowski)
Subject: Re: ADA FUNCTIONS TO PROCEDURES
Date: Mon, 13 Mar 1995 17:39:25 GMT
Date: 1995-03-13T17:39:25+00:00	[thread overview]
Message-ID: <D5E3pp.Jru@ss3.magec.com> (raw)
In-Reply-To: 3jt7u2$83o@Starbase.NeoSoft.COM

David Weller (dweller@Starbase.NeoSoft.COM) wrote:
: In article <D5Aoy5.JCH@ss3.magec.com>,
: James A. Krzyzanowski <jakrzy@ss5.magec.com> wrote:
: >Henri Altarac (haltarac@rain.org) wrote:
: >
: >: In some (strange) coding standard I saw, they required that
: >: function should not have any side effects. Procedure could.
: >
: >What's so strange about that?  At Magnavox, we DO have that as a coding
: >standard!

: I think he was implying it was strange because it required it in a
: strict sense (?).  We have the "No side effect" rule in our standard
: too, but it's immediately followed up with a statement that one MAY
: break the rule if 1) it provides a more readable product, 2) it is a
: "safe" usage ( a good example is the state of a random number
: generator), and 3) It passes a code review of peers and at least one
: "expert"

Yes, we do have the same exception; I just did not want to confuse the
discussion with practical facts ;^}
--
Not necessarily the opinion of the company...
--
---------------------------------------------------------------------------
James A. Krzyzanowski - Senior Software Engineer - AFATDS
Magnavox Electronic Systems Company * Fort Wayne, IN 46808 * (219) 429-6446
jakrzy@most.magec.com        Opinions_Expressed := (Mine and not Magnavox);
            "I'd rather be right than politically correct !!!"
---------------------------------------------------------------------------



  parent reply	other threads:[~1995-03-13 17:39 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1995-03-10 15:56 ADA FUNCTIONS TO PROCEDURES CONDIC
1995-03-10 22:20 ` Henri Altarac
1995-03-11 16:26   ` Pug 156
1995-03-11 21:27   ` James A. Krzyzanowski
1995-03-11 22:24     ` David Weller
1995-03-12  3:21       ` Henri Altarac
1995-03-13 19:34         ` Bob Kitzberger
1995-03-13 17:39       ` James A. Krzyzanowski [this message]
  -- strict thread matches above, loose matches on Subject: below --
1995-03-08  3:24 Tuan Anh Nguyen
1995-03-09 12:05 ` Robert Dewar
1995-03-09 12:06 ` Robert Dewar
replies disabled

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