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.

Abstract syntax is clean.  Concrete syntax is a rat's nest of confusion.

-- hendrik

-- 
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/20190715124720.ce5kho5xtf6czsfv%40topoi.pooq.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to