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 27 of 38 Topic 5649 of 5922
Post > Topic >>

Re: Lack of formal syntax undermines Ada

by Adam Beneschan <adam@[EMAIL PROTECTED] > Apr 11, 2008 at 04:08 PM

On Apr 11, 3:37 pm, John McCabe <j...@[EMAIL PROTECTED]
>
wrote:
> Robert A Duff <bobd...@[EMAIL PROTECTED]
> wrote:
>
> >John McCabe <j...@[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!)

There was an early, pre-1983, version of Ada that had a rule that
functions couldn't have side effects; this version also had "value-
returning procedures" for those cases where you really needed
something that could have side effects with the syntax of a function.
(I think value-returning procedures were allowed to have what are now
referred to as OUT and IN OUT parameters, but I'm not sure.)  Since I
don't remember a rule that functions weren't allowed to call
procedures, I don't know how they expected the side-effect rule to be
enforced; maybe the authors figured they could just decree it to be so
and stick implementors with the burden of figuring out how.
Thankfully, that got dropped before the language became a standard.

This was a long time ago, so of course my memory is hazy.  I haven't
looked to see if this draft version of Ada exists somewhere on the
Internet.

                                -- Adam
 




 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 15:02:55 CDT 2008.