bparanj@gmail.com
7/23/2008 11:39:00 PM
Wikipedia definition:
The scope of a variable describes where in a program's text, the
variable may be used, while the extent (or lifetime) describes when in
a program's execution a variable has a value. The scope of a variable
is actually a property of the name of the variable, and the extent is
a property of the variable itself.
Are they defined the same way in Ruby? TIA.