From: Phrogz Date: 2006-10-16T23:05:12+09:00 Subject: Re: Non-declared variables Avatar wrote: > I would like to hear people's opinions on the ability to use variables > without declaring them in dynamic languages like Ruby. Could you clarify what you mean by that? Are you concerned about methods like #instance_variable_set and #class_variable_set? Or more generally about the fact that code like: class Foo @bar = 12 end creates an instance variable on the fly at runtime, without requiring some sort of instance @bar line that 'declares' it before use?