TEAM-ADA Archives

Team Ada: Ada Programming Language Advocacy

TEAM-ADA@LISTSERV.ACM.ORG

Options: Use Forum View

Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

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

Print Reply
Subject:
From:
Stephen Schwarm <[log in to unmask]>
Reply To:
Date:
Thu, 5 Oct 2000 15:50:37 -0400
Content-Type:
text/plain
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