[GAP] Question about subprogram syntax

Erhard Ploedereder ploedere at informatik.uni-stuttgart.de
Wed Feb 22 09:01:34 CET 2006


Yes, it definitely is a matter of taste.

However, when you see code like
   ThisVar := Length + Origin - Offset;
and you are asked:
   Does this code have any effect other than changing ThisVar (and
   its aliases) ?

The empty parentheses community can immediately and with assurance
answer "No".

The no-parentheses community will have to hem and haw and consult symbol
tables to determine whether there can be any side effects due to any
of the identifiers standing for a function call.






More information about the GAP mailing list