comp.lang.ada
 help / color / mirror / Atom feed
* A Pascal Subset of Ada (was: Why Ada is Failing Socially)
@ 1991-06-25  2:28 Larry Carroll
  1991-06-25 15:42 ` Charles H. Sampson
                   ` (4 more replies)
  0 siblings, 5 replies; 24+ messages in thread
From: Larry Carroll @ 1991-06-25  2:28 UTC (permalink / raw)


Someone said something like
> A better comparison would be between Pascal & Ada.

I came to Ada from a Pascal background, & never understood why people thought
it a complex or difficult language.  I was writing working code within a
week.  Within a month the basics had become engrained in my thinking so I
automatically used syntax correctly most of the time.  I started using
features like packages, which I thought (& still think) was a marvelous
invention & had absolutely no trouble with.  Other parts of Ada caused me
more problems, & I've never used tasking.

One of the biggest mistakes of AJPO (or whoever made the decision) was to
disallow Ada subsets.  I think they should have allowed ONE subset, 
corresponding roughly to Pascal and including packages.  We would have had 
inexpensive & commercially useful compilers much earlier, & disposed of the 
"Ada is huge" mindset.

As a footnote, when I later learned C I organized programs as much like 
packages as I could with the limited capabilites of C.  I ended up with 
patterns that look a bit like C++.

^ permalink raw reply	[flat|nested] 24+ messages in thread
* Re: A Pascal Subset of Ada (was: Why Ada is Failing Socially)
@ 1991-06-26 18:21 Richard Pattis
  0 siblings, 0 replies; 24+ messages in thread
From: Richard Pattis @ 1991-06-26 18:21 UTC (permalink / raw)



In article <1822@stan.xx.swin.oz.au> doug@saturn.cs.swin.OZ.AU (Doug_Grant) writes:
>
>The issue is not whether subsets are allowed or not, but rather
>whether a compiler for the Pascal subset (whatever that is) could be
>used productively for a first course in Ada. Having taught Ada as a
>first language for 2 years now, to a diverse group of students of
>variable ability, I am convinced that a VERY CHEAP (or FREE) compiller
>for the Pascal subset that will run on the old 8088 machines that some
>Pascal) in the first course.
  Allow me to disagree. I have taught Ada in CS-1 and CS-2 to over a thousand
students. By week 15 my students have learned, and are using when they write
their programs: exception handling, unconstrained arrays, generic subprograms
and packages, private types, and operator overloading.  I will not discuss
the difficulties in creating a coherent and consistent Ada subset (such a
discussion has already appeared in this forum).

  Sure, an Ada subset compiler for an 8088 that is cheap is better than
nothing. But the availability of such a product would not support my
goals in teaching Ada. What is more important is the availability of
full Ada compilers that are as good and as cheap as as Pascal/C/C++
compilers for a wide variety of computing platforms.

  Of course, this all assumes that we want Ada taught at the undergraduate
level: this sentiment is not universal in the Ada community.

Rich Pattis

PS: When I taught Pascal and Modula-2 at this level, I always taught a subset
of these languages: the really important, powerful, and useful parts. I
continue this approach when teaching Ada.

-- 
------------------------------------------------------------------------------
  Richard E. Pattis			"Programming languages are like
  Department of Computer Science	 pizzas - they come in only "too"
    and Engineering			 sizes: too big and too small."

^ permalink raw reply	[flat|nested] 24+ messages in thread

end of thread, other threads:[~1991-07-01  2:43 UTC | newest]

Thread overview: 24+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1991-06-25  2:28 A Pascal Subset of Ada (was: Why Ada is Failing Socially) Larry Carroll
1991-06-25 15:42 ` Charles H. Sampson
1991-06-26 20:38   ` Jim Showalter
1991-06-27  9:57     ` Orville R. Weyrich
1991-06-27 17:10     ` Charles H. Sampson
1991-06-26 23:43   ` George C. Harrison, Norfolk State University
1991-06-27 20:45     ` Michael Feldman
1991-06-28 10:07       ` Matthias Ulrich Neeracher
1991-06-27 23:50     ` Jim Showalter
1991-06-30 10:32     ` Richard A. O'Keefe
1991-07-01  2:43       ` Michael Feldman
1991-06-25 20:19 ` Jim Showalter
1991-06-26  3:24   ` Michael Feldman
1991-06-27  7:45     ` Jim Showalter
1991-06-27 12:25       ` Matthias Ulrich Neeracher
1991-06-27 20:51         ` Michael Feldman
1991-06-27 23:52         ` Jim Showalter
1991-06-28  9:53           ` Matthias Ulrich Neeracher
1991-06-27 20:49       ` Michael Feldman
1991-06-25 23:13 ` Rahul Dhesi
1991-06-25 23:35 ` fisher
1991-06-26  1:02 ` Andrew Dunstan
1991-06-26  7:03   ` Doug_Grant
  -- strict thread matches above, loose matches on Subject: below --
1991-06-26 18:21 Richard Pattis

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox