Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.java.programmer > #8917

Re: prefix notation question

Path csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!weretis.net!feeder1.news.weretis.net!feeder.erje.net!feeder2.news.elisa.fi!newsfeed3.funet.fi!newsfeeds.funet.fi!news.helsinki.fi!.POSTED!not-for-mail
From Jussi Piitulainen <jpiitula@ling.helsinki.fi>
Newsgroups comp.lang.java.programmer
Subject Re: prefix notation question
Date 17 Oct 2011 18:10:27 +0300
Organization University of Helsinki
Lines 17
Sender jpiitula@ruuvi.it.helsinki.fi
Message-ID <qotty77wt5o.fsf@ruuvi.it.helsinki.fi> (permalink)
References <c865e53f-1e45-420b-aef3-cfb37216db89@13g2000prp.googlegroups.com> <BZGdnRzdc-qLOAbTnZ2dnUVZ_vydnZ2d@posted.palinacquisition> <0142e456-9e9a-4f71-adaa-5ea9cad35427@u9g2000vby.googlegroups.com> <qotbotg5c7i.fsf@ruuvi.it.helsinki.fi> <7889cbdf-4b32-413f-bae0-daea3814e85a@f13g2000vbv.googlegroups.com> <ae7f17fd-8825-4c5c-a185-0abed998aea5@a12g2000vbz.googlegroups.com> <0135959f-5846-4869-9c5a-dd08998015e9@u13g2000vbx.googlegroups.com>
NNTP-Posting-Host ruuvi.it.helsinki.fi
Mime-Version 1.0
Content-Type text/plain; charset=utf-8
Content-Transfer-Encoding 8bit
X-Trace oravannahka.helsinki.fi 1318864226 15128 128.214.205.65 (17 Oct 2011 15:10:26 GMT)
X-Complaints-To usenet@oravannahka.helsinki.fi
NNTP-Posting-Date Mon, 17 Oct 2011 15:10:26 +0000 (UTC)
User-Agent Gnus/5.09 (Gnus v5.9.0) Emacs/21.3
Xref x330-a1.tempe.blueboxinc.net comp.lang.java.programmer:8917

Show key headers only | View raw


Chad writes:
> On Oct 17, 7:45 am, Chad wrote:
...
> > I mean, what happened to (+3)? This obviously has to be account
> > for somewhere.
> 
> Never mind. I was one again experiencing a brain lapse.

:-)

You _can_ add one number together.

Even no numbers! (+) would be 0, the additive identity element, and
(*) would be 1, the multiplicative identity element.

(However, (+3) looks jarring for the users of those other languages.
Make it (+ 3), with the space between the operator and operand.)

Back to comp.lang.java.programmer | Previous | NextPrevious in thread | Next in thread | Find similar


Thread

prefix notation question Chad <cdalten@gmail.com> - 2011-10-16 20:15 -0700
  Re: prefix notation question Peter Duniho <NpOeStPeAdM@NnOwSlPiAnMk.com> - 2011-10-16 20:46 -0700
    Re: prefix notation question Chad <cdalten@gmail.com> - 2011-10-16 20:58 -0700
      Re: prefix notation question Peter Duniho <NpOeStPeAdM@NnOwSlPiAnMk.com> - 2011-10-16 23:38 -0700
      Re: prefix notation question Jussi Piitulainen <jpiitula@ling.helsinki.fi> - 2011-10-17 10:06 +0300
        Re: prefix notation question Chad <cdalten@gmail.com> - 2011-10-17 07:39 -0700
          Re: prefix notation question Chad <cdalten@gmail.com> - 2011-10-17 07:45 -0700
            Re: prefix notation question Chad <cdalten@gmail.com> - 2011-10-17 07:50 -0700
              Re: prefix notation question Jussi Piitulainen <jpiitula@ling.helsinki.fi> - 2011-10-17 18:10 +0300
                Re: prefix notation question Chad <cdalten@gmail.com> - 2011-10-18 15:30 -0700
                Re: prefix notation question Roedy Green <see_website@mindprod.com.invalid> - 2011-10-18 19:40 -0700
  Re: prefix notation question Roedy Green <see_website@mindprod.com.invalid> - 2011-10-18 19:36 -0700

csiph-web