in reply to Re^3: Very basic question on performance
in thread Very basic question on performance
But my point was really to say that, although I am very often using named variables for better clarity (and also to avoid changing inadvertently the parameter in the calling function), I found that, in this case, the ediag function is in my humble opinion actually clearer than the vdiag function, because you can see immediately the math expression being returned to the caller.return abs ( $_[0] * $_[1]);
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^5: Very basic question on performance
by davido (Cardinal) on Mar 14, 2014 at 18:57 UTC | |
by Laurent_R (Canon) on Mar 14, 2014 at 20:01 UTC |