comp.lang.ada
 help / color / mirror / Atom feed
From: Gautier <gautier.demontmollin@maths.unine.ch>
Subject: Re: C like op= proposal
Date: 1999/08/18
Date: 1999-08-18T00:00:00+00:00	[thread overview]
Message-ID: <37BAD79C.1DB32DD1@maths.unine.ch> (raw)
In-Reply-To: Pine.BSF.4.10.9908172116110.25744-100000@shell5.ba.best.com

> Also note that a request for opinions doesn't constitute a suggestion for
> a language change. I prefer [] for arrays too, but there's no way I'd
> suggest that change! I was curious about whether other Ada users would
> find some notation like this *more readable*. I doubt that adding
> syntactic gadgetry like this at this stage in Ada's life is worth the
> effort. Ada's progeny are a different story.

My opinion: the "+=" and such notation are not readable at all.
The main advantage of Ada is that you can spell the instructions
and it means something. It's important for many areas of programming
where you have to re-read and understand your (or worse: other's) code.

Adding these notations would be a leap back to these 1960s cryptic,
write-only, macro-assemblers made for experimenting new operating systems
and now (too often) used in improper areas like scientific programming
or large-scale projects...

I prefer to keep the +=*%^$ notations for such applets:

==================================================================
#include <io.h>
float o=0.075,h=1.5,T,r,O,l,I;int _,L=80,s=3200;main(){for(;s%L||
(h-=o,T= -2),s;4 -(r=O*O)<(l=I*I)|++ _==L&&write(1,(--s%L?_<L?--_
%6:6:7)+"World! \n",1)&&(O=I=l=_=r=0,T+=o /2))O=I*2*O+h,I=l+T-r;}
==================================================================

In fact the generic Inc / Add do the job, now, without adding anything!

-- 
Gautier

--------
http://members.xoom.com/gdemont/




  parent reply	other threads:[~1999-08-18  0:00 UTC|newest]

Thread overview: 33+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1999-08-15  0:00 C like op= proposal Brian Rogoff
1999-08-15  0:00 ` Ray Blaak
1999-08-15  0:00   ` Brian Rogoff
1999-08-16  0:00     ` Gautier
1999-08-17  0:00       ` John Duncan
1999-08-17  0:00         ` Gautier
1999-08-17  0:00       ` Samuel Tardieu
1999-08-17  0:00         ` Gautier
1999-08-17  0:00         ` Andi Kleen
1999-08-18  0:00           ` Robert Dewar
1999-08-17  0:00             ` Brian Rogoff
1999-08-18  0:00               ` Robert Dewar
1999-08-18  0:00                 ` Brian Rogoff
1999-08-19  0:00                   ` Robert Dewar
1999-08-21  0:00                     ` Brian Rogoff
1999-08-23  0:00                     ` Robert A Duff
1999-08-18  0:00               ` Gautier [this message]
1999-08-18  0:00               ` Ted Dennison
1999-08-18  0:00                 ` Robert I. Eachus
1999-08-18  0:00                 ` Jeff Carter
1999-08-18  0:00                   ` Keith Thompson
1999-08-19  0:00                     ` Tarjei T. Jensen
1999-08-19  0:00                       ` Ted Dennison
1999-08-19  0:00                       ` Lance Kibblewhite
1999-08-19  0:00                       ` Robert Dewar
1999-08-20  0:00                         ` P.S. Norby
1999-08-21  0:00                           ` Robert Dewar
1999-08-19  0:00                       ` tmoran
1999-08-19  0:00                     ` Michael F. Yoder
1999-08-21  0:00                       ` Keith Thompson
1999-08-18  0:00             ` Andi Kleen
1999-08-18  0:00         ` Gautier
1999-08-16  0:00 ` Robert Dewar
replies disabled

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