TEAM-ADA Archives

Team Ada: Ada Programming Language Advocacy


Options: Use Classic View

Use Monospaced Font
Show Text Part by Default
Condense Mail Headers

Topic: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Sender: "Team Ada: Ada Advocacy Issues (83 & 95)" <[log in to unmask]>
From: "W. Wesley Groleau x4923" <[log in to unmask]>
Date: Wed, 14 Oct 1998 15:42:14 -0500
Reply-To: "W. Wesley Groleau x4923" <[log in to unmask]>
Parts/Attachments: text/plain (10 lines)
> >   if (a = b) then ...
> That particular example seems like a case where Ada might do what the
> programmer wanted, rather than what the programmer wrote.  In C the
> programmer probably meant ==.

The point was that they were unconsciously or consciously staying as close
to C syntax as the _Ada_ compiler would allow.  It forced them to use "="
but it did not force them to drop the unnecessary parentheses.