From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.3 required=5.0 tests=BAYES_00,INVALID_MSGID autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,7ccbf31c901dc851 X-Google-Attributes: gid103376,public From: Robert Dewar Subject: Re: defining functions Date: 1999/11/25 Message-ID: <81ih6t$jm$1@nnrp1.deja.com>#1/1 X-Deja-AN: 552732657 References: <81gthb$kej$1@bunyip.cc.uq.edu.au> X-Http-Proxy: 1.0 x40.deja.com:80 (Squid/1.1.22) for client 205.232.38.14 Organization: Deja.com - Before you buy. X-Article-Creation-Date: Thu Nov 25 05:24:47 1999 GMT X-MyDeja-Info: XMYDJUIDrobert_dewar Newsgroups: comp.lang.ada X-Http-User-Agent: Mozilla/4.04 [en] (OS/2; I) Date: 1999-11-25T00:00:00+00:00 List-Id: In article <81gthb$kej$1@bunyip.cc.uq.edu.au>, "Riyaz Mansoor" 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.