comp.lang.ada
 help / color / mirror / Atom feed
From: "Marin D. Condic" <mcondic-nospam@quadruscorp.com>
Subject: Re: PL/SQL -> Ada
Date: 2000/03/31
Date: 2000-03-31T13:27:08+00:00	[thread overview]
Message-ID: <38E4D1A0.CEBF9D46@quadruscorp.com> (raw)
In-Reply-To: 38E3B39D.D722E500@averstar.com

Tucker Taft wrote:
> To give you an analogy which might make you feel sorry for us
> poor compiler-writer slobs.  Imagine a chauffeur and a passenger.
> The compiler is the chauffeur, and the programmer is the passenger.
> When there are no representation clauses, you get to tell the
> chauffeur to drive the car to the store, and that is about it.
> When there are representation clauses, you get to tell the chauffeur
> that you want them to put their left foot exactly there, their right
> foot there, their left index finger here, their right thumb there,
> and their left pinkie over here.  *Now* drive to the store, at exactly
> the speed I tell you to, with your tires following exactly along the
> pair of white lines I drew on the road earlier today.
> 
I like your analogy. Pretty clever.

Yes, I can sympathize with the fact that once I start mucking about
telling the compiler where to put things, it makes your life harder.
Normally though, the representation clauses I've had to apply are mostly
because the data has to fit some format for the outside world. (Reading
hardware registers, messages up and down the hose, stuff like that.) I
don't know if it makes your life any easier if all I ever want to do is
move the data and never actually compute with it. (I could unpack it
into an un-represented-type). Maybe some "usage is non-computational"
clause could be applied?

MDC
-- 
=============================================================
Marin David Condic   - Quadrus Corporation -   1.800.555.3393
1015-116 Atlantic Boulevard, Atlantic Beach, FL 32233
http://www.quadruscorp.com/
m c o n d i c @ q u a d r u s c o r p . c o m

***PLEASE REMOVE THE "-NOSPAM" PART OF MY RETURN ADDRESS***

Visit my web site at:  http://www.mcondic.com/

"Because that's where they keep the money."
    --  Willie Sutton when asked why he robbed banks. 
=============================================================




  reply	other threads:[~2000-03-31  0:00 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-03-25  0:00 PL/SQL -> Ada Foo Bar
2000-03-25  0:00 ` Foo Bar
2000-03-26  0:00 ` Marin D. Condic
2000-03-27  0:00   ` Bill Meahan
2000-03-27  0:00     ` Marin D. Condic
2000-03-27  0:00       ` Brian Rogoff
2000-03-28  0:00         ` Bill Meahan
2000-03-28  0:00           ` Brian Rogoff
2000-03-28  0:00           ` Marin D. Condic
2000-03-28  0:00             ` Ted Dennison
2000-03-29  0:00               ` Marin D. Condic
2000-03-30  0:00                 ` Robert Dewar
2000-03-30  0:00                   ` Marin D. Condic
2000-03-30  0:00                     ` Tucker Taft
2000-03-31  0:00                       ` Marin D. Condic [this message]
2000-03-28  0:00             ` Charles Hixson
2000-03-27  0:00   ` Andreas Schulz
2000-03-27  0:00     ` Pascal Obry
2000-03-27  0:00     ` Marin D. Condic
2000-03-27  0:00     ` Tony Matthews
2000-03-28  0:00       ` Vladimir Olensky
replies disabled

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