Eiffel "Gotchas"

07 April 1998


Gotcha #7 - redundant parentheses

In Eiffel, as in most computer languages, it does no harm to include parentheses that are redundant (do not affect the order of computation).

Or does it? How can you break a valid, working program by adding a single pair of parentheses that do not affect the order of computation?

ANSWER


Eiffel and NICE are registered trademarks of the Nonprofit International Consortium for Eiffel.

Eiffel "Gotchas"