Operator precedence.

J

Joe keane

Keith Thompson said:
You've been posting very specific information about something that
doesn't actually exist -- when there are *plenty* of examples of
real-world languages with well defined operator precedence rules that
would have made perfectly good examples.

The conversation was about some hypothetical language that is like C
but has less [or more] levels of precendence.

Bartc suggested six [or five] levels, and asked whether this would be easier. James Kuyper and Ben Bacarisse suggested that it would not, and that
arguably C has about the right number of levels.
 
K

Keith Thompson

Keith Thompson said:
You've been posting very specific information about something that
doesn't actually exist -- when there are *plenty* of examples of
real-world languages with well defined operator precedence rules that
would have made perfectly good examples.

The conversation was about some hypothetical language that is like C
but has less [or more] levels of precendence.

Bartc suggested six [or five] levels, and asked whether this would be
easier. James Kuyper and Ben Bacarisse suggested that it would not,
and that arguably C has about the right number of levels.

That's fine, but it took *way* too long to understand what you were
trying to say, because you introduced an arbitrary but very specific
collection of operators without explanation. In one case, you even
specifically mentioned C along with your odd list of operators. Look
back in this thread and you'll see several people asking you for
clarification.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
474,079
Messages
2,570,574
Members
47,207
Latest member
HelenaCani

Latest Threads

Top