Arithmetic numbers: Difference between revisions
Content added Content deleted
m (→{{header|Phix}}: sp) |
|||
Line 1,688: | Line 1,688: | ||
suchlike, in order to collect/output the completely different post-invocation value. |
suchlike, in order to collect/output the completely different post-invocation value. |
||
Or and perhaps even better, just simply avoid writing functions with side-effects, |
Or and perhaps even better, just simply avoid writing functions with side-effects, |
||
or |
or make it a function that returns everything in a guaranteed consistent manner, |
||
and of course were get_arithmetic() a procedure [with side-effects] rather than a |
and of course were get_arithmetic() a procedure [with side-effects] rather than a |
||
function, you would not be tempted to invoke it inline or use any other form of |
function, you would not be tempted to invoke it inline or use any other form of |