comp.lang.ada
 help / color / mirror / Atom feed
From: Robert Dewar <robert_dewar@my-deja.com>
Subject: Re: defining functions
Date: 1999/11/25
Date: 1999-11-25T00:00:00+00:00	[thread overview]
Message-ID: <81ih6t$jm$1@nnrp1.deja.com> (raw)
In-Reply-To: 81gthb$kej$1@bunyip.cc.uq.edu.au

In article <81gthb$kej$1@bunyip.cc.uq.edu.au>,
  "Riyaz Mansoor" <s800032@student.uq.edu.au> wrote:
>    function  "=="  (Stack1, Stack2 : in Stack) return Boolean;

> (i find the single equal sign really irritating!!!)


One of the things that is important when you come to a new
language is to understand the style and conform to it. Nothing
would be more horrible (*) than seeing == used in an Ada
program, and it is in this case an excellent thing that the
compiler prevents this abuse.

(*) well I guess a comparable thing would be to see an Ada
programmer writing C, and starting off with

#define begin {
#define end   }

etc.

Unfortunately the C preprocessor WOULD allow this appalling
abuse of the macro processor.


Sent via Deja.com http://www.deja.com/
Before you buy.




      parent reply	other threads:[~1999-11-25  0:00 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1999-11-25  0:00 defining functions Riyaz Mansoor
1999-11-24  0:00 ` Matthew Heaney
1999-11-24  0:00 ` Ted Dennison
1999-11-25  0:00   ` Riyaz Mansoor
1999-11-24  0:00 ` Gautier
1999-11-24  0:00 ` Lutz Donnerhacke
1999-11-25  0:00 ` Robert Dewar [this message]
replies disabled

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