comp.lang.ada
 help / color / mirror / Atom feed
From: Preben Randhol <randhol+abuse@pvv.org>
Subject: Re: conversion
Date: Sat, 28 Jun 2003 09:46:54 +0000 (UTC)
Date: 2003-06-28T09:46:54+00:00	[thread overview]
Message-ID: <slrnbfqovu.33b.randhol+abuse@kiuk0152.chembio.ntnu.no> (raw)
In-Reply-To: e2e5731a.0306271410.6cf0fbfc@posting.google.com

Alexander Kopilovitch wrote:
> Preben Randhol wrote:
> 
>> > Certainly, a chorus tells you that Ada is not C, but what about
>> > Pascal, which has much more resemblance with Ada? Pascal isn't C,
>> > it does not rely heavily upon pointers, but at the same time it has
>> > quite good and usable strings.
>>
>>Oh I remembered when we had to use Pascal in some introductory
>>programming course at the university that there was several machines
>>crashing due to that the students didn't get the pointers correctly.
> 
> Is it all you remember about Pascal? If so that, perhaps, you should
> not be much surprised when other people associate Ada with Ariane 5
> crash only.

I also remember problematic syntax where you should not put ";" in some
cases. This most students got wrong. Anyway it has been 10 years since I
look at Pascal, but I think I should be able to read it.

> Anyway, why you switched to the Pascal pointers from the theme of
> strings?  Pascal is not C, and Pascal strings aren't naturally
> associated with pointers.

No, I was commenting on what was written (se above) about pointer. I
didn't say Pascal didn't have good strings as I don't remember how they
worked now. Must look it up.

> Finally, as you mention those dangerous pointers in Pascal, let me
> quote the "Programming in Ada 95" by John Barnes (2nd edition, 1998),
> Chapter 10, Access Types, p.171 :
> 
> "Playing with pointers is like playing with fire. Fire is perhaps the
> most important tool known to man. Carefully used, fire brings enormous
> benefits, but when fire gets out of control, disaster strikes.
> Pointers have similar characteristics but are well tamed in the form
> of access types in Ada."

Yes? Not sure I see your point with this quote though.

Preben
-- 
Ada95 is good for you.
http://www.crystalcode.com/codemage/MainMenu/Coding/Ada/IntroducingAda.php



  reply	other threads:[~2003-06-28  9:46 UTC|newest]

Thread overview: 44+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-06-27 10:51 conversion Andrew
2003-06-27 12:22 ` conversion Dmitry A. Kazakov
2003-06-27 12:37 ` conversion Stephen Leake
2003-06-27 14:26   ` conversion Bill Findlay
2003-06-27 17:04     ` conversion Georg Bauhaus
2003-07-04  0:21     ` conversion Dave Thompson
2003-06-27 13:25 ` conversion Robert I. Eachus
2003-06-27 18:42   ` conversion tmoran
2003-06-27 14:49 ` conversion Matthew Heaney
2003-06-27 17:10 ` conversion Georg Bauhaus
2003-06-27 17:13 ` conversion Alexander Kopilovitch
2003-06-27 17:34   ` conversion Preben Randhol
2003-06-27 22:10     ` conversion Alexander Kopilovitch
2003-06-28  9:46       ` Preben Randhol [this message]
2003-06-27 22:13   ` conversion Robert I. Eachus
2003-06-30  8:52     ` conversion Dmitry A. Kazakov
2003-07-03  7:03       ` conversion Robert I. Eachus
2003-07-09  7:42         ` conversion Dmitry A. Kazakov
2003-07-09 17:04           ` conversion Robert I. Eachus
2003-07-10 10:19             ` conversion Dmitry A. Kazakov
2003-07-11  1:56               ` conversion Alexander Kopilovitch
2003-07-05  2:40     ` conversion Alexander Kopilovitch
2003-07-05  6:33       ` conversion Georg Bauhaus
2003-07-05 17:06         ` conversion Alexander Kopilovitch
2003-07-06  3:53           ` conversion Robert I. Eachus
2003-07-06  5:13             ` conversion Jeffrey Carter
2003-07-06 12:45               ` conversion Chad R. Meiners
2003-07-07  1:09             ` conversion Alexander Kopilovitch
2003-07-06 20:04           ` conversion Georg Bauhaus
2003-07-07 14:55             ` conversion Stephen Leake
2003-07-07 21:36               ` conversion Alexander Kopilovitch
     [not found] <002701c33e22$8e9deaf0$0201a8c0@win>
2003-06-29 20:15 ` conversion David C. Hoos, Sr.
  -- strict thread matches above, loose matches on Subject: below --
2003-06-29  9:41 conversion Andrew
2003-07-04 10:42 ` conversion Janeit
2003-06-28  8:46 conversion Andrew
2003-06-28  9:49 ` conversion Preben Randhol
2003-06-30 14:08 ` conversion Stephen Leake
2003-06-27 17:37 conversion Andrew
2003-06-27 17:32 ` conversion Stephen Leake
2003-06-28  2:55 ` conversion Jeffrey Carter
1998-07-22  0:00 conversion Rick
1998-07-22  0:00 ` conversion Richard Toy
1998-07-22  0:00 ` conversion Corey Ashford
1998-07-22  0:00   ` conversion Corey Ashford
replies disabled

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