Re: [CODE] Better argument processing

From: Franco Gasperino (awe@CET.COM)
Date: 09/22/97

> From: Angus Mezick <angus@EDGIL.CCMAIL.COMPUSERVE.COM>
> To:
> Subject: Re:  [CODE] Better argument processing
> Date: Monday, September 22, 1997 6:30 AM
> Be very careful.  as far as I know, it is bad style for a function to
change the
> contents of a variable of some thing that is passed to it.  I know it
> alot, but it is dangerous.  At some point the original value might be
> again.
> --Angus

What? Bad style? Passing by refrence is a very commonly used and
sometimes necessary way to get values to functions. I cannot see how
this would be bad style, as passing by value can incurr terrible overhead
therefore reducing the speed and effectiveness of function calls...

Franco Gasperino
Cutting Edge Communications

     | Ensure that you have read the CircleMUD Mailing List FAQ:  |
     | |

This archive was generated by hypermail 2b30 : 12/08/00 PST