On Mon, 15 Jul 2019 at 08:47 -0400, Hendrik Boom wrote:
> On Mon, Jul 15, 2019 at 01:22:20PM +0100, Jack Rosenthal wrote:
> > One of my gripes from writing and reading (reviewing) C code on a daily
> > basis is that I have a hard time remembering the precedence of the
> > operators beyond PEMDAS. Things get murky when trying to figure out the
> > order of the other operators. And as soon as you start allowing infix,
> > you better allow extending it, for better or worse.
> 
> The one I always have trouble with is the precedence between prefix * and 
> postfix [].  There would have been no confusion if both had been postfic 
> operators.  Mind you, then they might have had to use a different symbol for 
> dereference to avoid confusion with multiplication.

*p++

;)

-- 
Jack M. Rosenthal
http://jack.rosenth.al

Computers were a mistake.
    -- Ethan Hunter

-- 
You received this message because you are subscribed to the Google Groups 
"Racket Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to racket-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/racket-users/20190715131005.GA4615%40rosenth.al.
For more options, visit https://groups.google.com/d/optout.

Attachment: signature.asc
Description: PGP signature

Reply via email to