From: "Erik Sigra" <freeciv@home.se>
To: xconq7@sources.redhat.com
Cc: j.ruehle@bmiag.de, xconq7@sources.redhat.com
Subject: Re: RFC: Increment and Decrement (was Re: GDL Notice: Arithmetic Operators / Quasi-Formulae)
Date: Wed, 23 Jun 2004 04:21:00 -0000 [thread overview]
Message-ID: <1087925962.8a169840freeciv@home.se> (raw)
Message-ID: <20040623042100.FafJwayR8VzGaIcgT8G8a7ZEWKzPXhYqW2RUqJlkKfE@z> (raw)
> So, I guess the choices for increment and decrement
> are:
> (++ n) (-- n)
> (inc n) (dec n)
> (1+ n) (1- n)
>
> Does anyone have any preferences (aside from those
> already stated)?
I like (+ n 1) and (- n 1) most. It is general and also works with for example 2. It is almost as short to write and already implemented.
next reply other threads:[~2004-06-22 17:43 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-06-22 17:43 Erik Sigra [this message]
2004-06-23 4:21 ` Erik Sigra
-- strict thread matches above, loose matches on Subject: below --
2004-06-21 6:50 GDL Notice: Arithmetic Operators / Quasi-Formulae Eric McDonald
2004-06-22 3:25 ` Eric McDonald
2004-06-22 6:19 ` Jim Kingdon
2004-06-22 9:50 ` Juergen Ruehle
2004-06-22 14:18 ` RFC: Increment and Decrement (was Re: GDL Notice: Arithmetic Operators / Quasi-Formulae) Eric McDonald
2004-06-22 14:50 ` Jim Kingdon
2004-06-23 6:02 ` Eric McDonald
2004-06-23 6:17 ` Jim Kingdon
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1087925962.8a169840freeciv@home.se \
--to=freeciv@home.se \
--cc=j.ruehle@bmiag.de \
--cc=xconq7@sources.redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).