Ruby:变量和赋值的语义类似于Python?
Ruby: semantics of variables and assignment similar to Python's?
在python中说变量不像C中的变量,而是真正绑定到对象的名称。参见,例如,, "Why should I refer to 'names' and 'binding' in Python instead of 'variables' and 'assignment'?", and "Facts and myths about Python names and values"
从广义上讲,Ruby也是这样吗?
是
在python中说变量不像C中的变量,而是真正绑定到对象的名称。参见,例如,
从广义上讲,Ruby也是这样吗?
是