TEAM-ADA Archives

Team Ada: Ada Programming Language Advocacy

TEAM-ADA@LISTSERV.ACM.ORG

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]>
Date: Thu, 5 Oct 2000 15:50:37 -0400
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Type: text/plain; charset=us-ascii
Organization: EMC
From: Stephen Schwarm <[log in to unmask]>
Parts/Attachments: text/plain (18 lines)
Carlisle Martin C Dr USAFA/DFCS wrote:
> KEVIN>But my experience is that students learning C/C++ quickly learn where
> >the semicolons go; while students learning Pascal are never quite sure.
>
> This is a deficiency of Pascal, and is noted in the paper comparing Pascal
> and Ada in the latest Ada Letters (which goes a long way to prove syntax
> matters!)

The rule is simple.  With Pascal semicolons separate statement and with
Ada semicolons end them.

Now for C++, semicolons end statements but they don't end blocks but
they do end blocks of declarations.  Now that is an easy rule.

Just my $0.02

Steve

ATOM RSS1 RSS2