On Fri, 29 Jan 1999, Sheldon Hearn wrote: > > When it comes to code, do you not agree that the trained eye knows which > operators to seek to first in an expression? I can't think of an analogy > in the English language, since one doesn't "seek to" commas, one simply > reads from left to right. >
The "trained eye" doesn't have much to do with the problem.. Firstly there are only a certain number of things the average person can keep in context at a time, and forcing someone to work out precedence is distracting from the job at hand. I've been doing C for 17 years now, and there are some operators that I Still need to look up because I use them rarely in combination. Also writing in an ISO 9000 environmemt, Braces were REQUIRED, as were Parans wherever more than 2 elements were in an expression (except in some simple cases like a + b + c + d). Having worked in that environment I find the that I get REALLY distracted by the LACK of parens and braces in expressions with more than 2 parts because I keep having to check every expression to see what was actually done, where with parans and braces it's explicit. Arguing against parens and braces is like arguing against indentation. It's not required but... To Unsubscribe: send mail to majord...@freebsd.org with "unsubscribe freebsd-current" in the body of the message