David Vallner wrote: > Pavel Smerk wrote: > >> OMG! >> >> Why the and and or operators have the same priority? Unlike && and || >> and also unlike the most of, or maybe all, other languages and >> conventions? >> >> (Yes, long time spent on that now, who would expect such a curiosity...) >> >> Thanks for explanation, if there is any, >> >> P. >> > > <rant> > Just. Use. Parentheses. Even in programming languages where the rules > are clear. Explicit >> Implicit. > </rant> More parentheses, less readability. E.g. the natural language is quite well understandable without the parentheses --- and (((I'm) sure), (((it's) (better understandable)) (than (it (((would be) understandable) (with them)))))). May be its operator precedence is better designed than the ruby's one? (Although it can be hardly believable that something could be even better than ruby. ;-)