TEAM-ADA Archives

Team Ada: Ada Programming Language Advocacy


Options: Use Classic View

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

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

Print Reply
Stephen Schwarm <[log in to unmask]>
Thu, 5 Oct 2000 15:50:37 -0400
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