Free Republic
Browse · Search
News/Activism
Topics · Post Article

To: SpaceBar

Only for human consumption. The computer is fine without parentheses.


106 posted on 01/15/2013 10:08:09 PM PST by gitmo ( If your theology doesn't become your biography it's useless.)
[ Post Reply | Private Reply | To 24 | View Replies ]


To: gitmo

Au contraire. Parens indeed do affect the way it’s parsed. It’s only syntactic sugar when the parens aren’t really needed and operator precedence and order of evaluation just so happen to coincide with what the programmer “meant”. And in the latter case you just got lucky, sloppy, but lucky. Many a bug has been attributed to it.


110 posted on 01/15/2013 10:17:53 PM PST by SpaceBar
[ Post Reply | Private Reply | To 106 | View Replies ]

Free Republic
Browse · Search
News/Activism
Topics · Post Article


FreeRepublic, LLC, PO BOX 9771, FRESNO, CA 93794
FreeRepublic.com is powered by software copyright 2000-2008 John Robinson