Re: silly question: prefix vs postfix ops

Marco van de Voort <marcov@stack.nl>
Mon, 3 Mar 2008 22:23:48 +0000 (UTC)

          From comp.compilers

Related articles
silly question: prefix vs postfix ops rosing@peakfive.com (MattR) (2008-03-03)
Re: silly question: prefix vs postfix ops csaavedra@alumnos.utalca.cl (Claudio Saavedra) (2008-03-03)
Re: silly question: prefix vs postfix ops mailbox@dmitry-kazakov.de (Dmitry A. Kazakov) (2008-03-03)
Re: silly question: prefix vs postfix ops gah@ugcs.caltech.edu (glen herrmannsfeldt) (2008-03-03)
Re: silly question: prefix vs postfix ops haberg_20080207@math.su.se (Hans Aberg) (2008-03-03)
Re: silly question: prefix vs postfix ops marcov@stack.nl (Marco van de Voort) (2008-03-03)
Re: silly question: prefix vs postfix ops gah@ugcs.caltech.edu (glen herrmannsfeldt) (2008-03-04)
Re: silly question: prefix vs postfix ops dot@dotat.at (Tony Finch) (2008-03-04)
Re: silly question: prefix vs postfix ops rpboland@gmail.com (Ralph Boland) (2008-03-04)
Re: call by name, was silly question: prefix vs postfix ops wclodius@los-alamos.net (2008-03-04)
Re: silly question: prefix vs postfix ops alexc@TheWorld.com (Alex Colvin) (2008-03-05)
Re: call by name, was silly question: prefix vs postfix ops wclodius@los-alamos.net (2008-03-05)
[3 later articles]
| List of all articles for this month |
From: Marco van de Voort <marcov@stack.nl>
Newsgroups: comp.compilers
Date: Mon, 3 Mar 2008 22:23:48 +0000 (UTC)
Organization: Stack Usenet News Service
References: 08-03-012
Keywords: design, comment
Posted-Date: 03 Mar 2008 19:27:40 EST

On 2008-03-03, MattR <rosing@peakfive.com> wrote:
> This is more of a language question than a compiler question (and
> therefore should create a religious battle :) ), but I'm wondering if
> the answer has more to do with the compiler. Anyway, why are there
> prefix operators that could just as well be postfix?


I'd say that unary operations are prefix, because minus is.


[This is wandering away from compiler design. Personal syntax
preferences are almost invariably off-topic. -John]


Post a followup to this message

Return to the comp.compilers page.
Search the comp.compilers archives again.