Re: Variables/Parameters and Scoping

Hi Alex,

Alex Milowski wrote:
> In my mind, parameters and "variables" are the same
> thing.

In my mind, parameters have the semantic that a value is passed in from 
outside the containing construct (and a default is specified for when 
the value isn't passed), whereas variable values cannot be overridden 
from outside. I think it's useful to be able to make the distinction 
because it highlights to users which "variables" should be set when 
calling the construct and which are private within the construct and 
therefore shouldn't be meddled with.

Cheers,

Jeni
-- 
Jeni Tennison
http://www.jenitennison.com

Received on Monday, 22 May 2006 11:10:47 UTC