Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Programming > Ada > Re: Lack of for...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 7 of 38 Topic 5649 of 5922
Post > Topic >>

Re: Lack of formal syntax undermines Ada

by John McCabe <john@[EMAIL PROTECTED] > Apr 11, 2008 at 11:37 PM

Robert A Duff <bobduff@[EMAIL PROTECTED]
> wrote:

>John McCabe <john@[EMAIL PROTECTED]
> writes:
>
>> As I understand it, that was deliberate; Ada's feature that functions
>> may not have side-effects ...
>
>Ada functions can have side effects.

Bugger - where did I get that idea from then (have to admit, it's been
a while since I paid a lot of attention to Ada!)

>>...means that whether Y is a function or an
>> array is irrelevant to the user as long as the result is valid. It is
>> also related to the separation of interface from implementation. Write
>> the implementation as an array to start with, e.g. for unit test
>> purposes, then it can be replaced with a function without having to
>> change the client who uses this interface.
>
>Right, that's the theory.  But it only works for some functions, and
>some arrays.

Of course, but in principle....

Thanks Bob
 




 38 Posts in Topic:
Lack of formal syntax undermines Ada
usenet@[EMAIL PROTECTED]   2008-04-11 02:41:28 
Re: Lack of formal syntax undermines Ada
"Peter C. Chapin&quo  2008-04-11 07:20:15 
Re: Lack of formal syntax undermines Ada
Georg Bauhaus <rm.tsoh  2008-04-11 19:27:17 
Re: Lack of formal syntax undermines Ada
Adam Beneschan <adam@[  2008-04-11 11:13:16 
Re: Lack of formal syntax undermines Ada
John McCabe <john@[EMA  2008-04-11 22:25:50 
Re: Lack of formal syntax undermines Ada
Robert A Duff <bobduff  2008-04-11 17:45:07 
Re: Lack of formal syntax undermines Ada
John McCabe <john@[EMA  2008-04-11 23:37:53 
Re: Lack of formal syntax undermines Ada
Robert A Duff <bobduff  2008-04-12 08:57:02 
Re: Lack of formal syntax undermines Ada
"(see below)" &  2008-04-12 16:06:45 
Re: Lack of formal syntax undermines Ada
John McCabe <john@[EMA  2008-04-12 17:25:53 
Re: Lack of formal syntax undermines Ada
"(see below)" &  2008-04-12 18:55:14 
Re: Lack of formal syntax undermines Ada
John McCabe <john@[EMA  2008-04-12 23:19:38 
Re: Lack of formal syntax undermines Ada
"(see below)" &  2008-04-13 02:13:07 
Re: Lack of formal syntax undermines Ada
John McCabe <john@[EMA  2008-04-13 12:51:01 
Re: Lack of formal syntax undermines Ada
"(see below)" &  2008-04-13 15:13:45 
Re: Lack of formal syntax undermines Ada
John McCabe <john@[EMA  2008-04-13 20:34:09 
Re: Lack of formal syntax undermines Ada
"(see below)" &  2008-04-13 21:51:59 
Re: Lack of formal syntax undermines Ada
John McCabe <john@[EMA  2008-04-13 22:06:51 
Re: Lack of formal syntax undermines Ada
Gary Scott <garylscott  2008-04-12 17:16:55 
Re: Lack of formal syntax undermines Ada
"Peter C. Chapin&quo  2008-04-12 14:43:33 
Re: Lack of formal syntax undermines Ada
Gary Scott <garylscott  2008-04-12 14:16:55 
Re: Lack of formal syntax undermines Ada
Robert A Duff <bobduff  2008-04-12 16:04:45 
Re: Lack of formal syntax undermines Ada
Gary Scott <garylscott  2008-04-12 23:32:45 
Re: Lack of formal syntax undermines Ada
Robert A Duff <bobduff  2008-04-12 21:16:25 
Re: Lack of formal syntax undermines Ada
Robert A Duff <bobduff  2008-04-12 16:02:30 
Re: Lack of formal syntax undermines Ada
Pascal Obry <pascal@[E  2008-04-12 22:52:13 
Re: Lack of formal syntax undermines Ada
Adam Beneschan <adam@[  2008-04-11 16:08:12 
Re: Lack of formal syntax undermines Ada
dirk@[EMAIL PROTECTED] (  2008-04-12 07:16:43 
Re: Lack of formal syntax undermines Ada
Jean-Pierre Rosen <ros  2008-04-14 09:23:10 
Re: Lack of formal syntax undermines Ada
anon@[EMAIL PROTECTED] (  2008-04-13 09:46:01 
Re: Lack of formal syntax undermines Ada
Florian Weimer <fw@[EM  2008-04-14 00:01:34 
Re: Lack of formal syntax undermines Ada
Florian Weimer <fw@[EM  2008-04-14 00:04:01 
Re: Lack of formal syntax undermines Ada
usenet@[EMAIL PROTECTED]   2008-04-15 05:57:42 
Re: Lack of formal syntax undermines Ada
"Peter C. Chapin&quo  2008-04-15 22:26:23 
Re: Lack of formal syntax undermines Ada
"Randy Brukardt"  2008-04-17 01:37:08 
Re: Lack of formal syntax undermines Ada
usenet@[EMAIL PROTECTED]   2008-04-15 06:22:11 
Re: Lack of formal syntax undermines Ada
Adam Beneschan <adam@[  2008-04-15 09:08:08 
Re: Lack of formal syntax undermines Ada
Eric Hughes <eric.eh9@  2008-04-15 20:14:45 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Mon Oct 6 18:17:47 CDT 2008.