From: "Marin David Condic" <dont.bother.mcondic.auntie.spam@[acm.org>
Subject: Re: was Re: Ada / C++ comparison paper anymore
Date: Thu, 20 Dec 2001 15:57:06 -0500
Date: 2001-12-20T20:57:07+00:00 [thread overview]
Message-ID: <9vtjb3$kdl$1@nh.pace.co.uk> (raw)
In-Reply-To: sMrU7.5902$XC5.7817@www.newsranger.com
Seems like a lot of complexity and work to get something that doesn't have
much nutritional value anyway. I just barely find it sometimes more useful
to say: "X := Integer'Succ (X);" than to say: "X := X + 1;" and I don't
think it contributes that much to readability, reliability or anything else.
Being able to say: "X := Integer'Succ (X, 2);" doesn't seem to have hardly
any value at all and would make ridiculous looking thing such as you cite
possible.
I just can't remember the last time I wanted to increment by something other
than one where a feature like this would be at all useful. Most cases would
degenerate into something more generally mathematical anyway. Even in
developing C code, I don't find many instances where it is useful to use the
"+=" operator to think that somehow my life would be so much easier if only
I had something similar in Ada.
Why put the compiler writers through all that effort (time that could be
spent incorporating a standard container library? :-) unless there's some
glaring hole that needs to be filled? When talking about language extensions
we probably should remember that the vendor's time can only go so far & we
ought to think in terms of priorities so we get the most additional benefit
from that time.
MDC
--
Marin David Condic
Senior Software Engineer
Pace Micro Technology Americas www.pacemicro.com
Enabling the digital revolution
e-Mail: marin.condic@pacemicro.com
Web: http://www.mcondic.com/
"Ted Dennison" <dennison@telepath.com> wrote in message
news:sMrU7.5902$XC5.7817@www.newsranger.com...
>
> Actually, 'Succ already does this, but it is a function and doesn't have
an
> amount. Perhaps if it took an amount, this would be sufficient? But then
again,
> 'Succ works on enumerated types too, which would have us use something
> nonsensical like "Month'Succ (Current_Month, February)" to bump the value
by 2
> enumerations.
>
next prev parent reply other threads:[~2001-12-20 20:57 UTC|newest]
Thread overview: 53+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-12-17 10:22 Ada / C++ comparison paper Martin Dowie
2001-12-17 14:42 ` Frode Tenneboe
2001-12-17 22:07 ` Hyman Rosen
2001-12-17 22:34 ` David C. Hoos
2001-12-17 22:37 ` Marin David Condic
2001-12-18 0:54 ` Ed Falis
2001-12-18 9:30 ` martin.m.dowie
2001-12-18 14:49 ` Marin David Condic
2001-12-18 17:51 ` Hyman Rosen
2001-12-19 16:10 ` Greg C
2001-12-20 14:41 ` Hyman Rosen
2001-12-20 20:16 ` Greg C
2001-12-19 20:44 ` Wes Groleau
2001-12-19 20:47 ` Ed Falis
2001-12-20 18:16 ` Ted Dennison
2001-12-20 19:12 ` Richard Riehle
2001-12-18 1:16 ` Larry Kilgallen
2001-12-17 22:52 ` Matthew Heaney
2001-12-18 15:47 ` Hyman Rosen
2001-12-18 16:20 ` Pat Rogers
2001-12-18 17:00 ` Hyman Rosen
2001-12-18 17:28 ` Larry Kilgallen
2001-12-18 19:40 ` Brian Rogoff
2001-12-18 20:25 ` Hyman Rosen
2001-12-19 0:53 ` was Re: Ada / C++ comparison paper anymore Mark Lundquist
2001-12-19 1:47 ` Brian Rogoff
2001-12-19 18:20 ` Mark Lundquist
2001-12-19 19:39 ` Patrick Hohmeyer
2001-12-19 19:38 ` Mark Lundquist
2001-12-19 20:51 ` Patrick Hohmeyer
2001-12-20 17:56 ` Brian Rogoff
2001-12-20 18:48 ` Patrick Hohmeyer
2001-12-20 19:20 ` Brian Rogoff
2001-12-21 3:16 ` Implicit instantiation (was Re: Ada / C++ comparison paper anymore) Mark Lundquist
2001-12-21 3:12 ` Implicit instantiation (was Re: was " Mark Lundquist
2001-12-21 2:55 ` Mark Lundquist
2001-12-20 20:22 ` was Re: Ada / C++ comparison paper anymore Ted Dennison
2001-12-20 20:57 ` Marin David Condic [this message]
2001-12-21 17:44 ` Richard Riehle
2001-12-21 17:51 ` Marin David Condic
2001-12-19 18:20 ` Ada / C++ comparison paper Mark Lundquist
2001-12-20 20:27 ` Ted Dennison
2001-12-20 20:59 ` Marin David Condic
2001-12-21 14:26 ` Ted Dennison
2001-12-21 14:32 ` Marin David Condic
2001-12-21 15:11 ` Jean-Marc Bourguet
2001-12-20 22:30 ` tmoran
2001-12-20 22:36 ` Marin David Condic
2001-12-21 14:23 ` Ted Dennison
2001-12-21 18:46 ` tmoran
2001-12-21 19:09 ` Ted Dennison
2001-12-21 2:46 ` Mark Lundquist
2001-12-21 14:28 ` Ted Dennison
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox