From: Joel VanderWerf Date: 2004-12-06T14:32:12+09:00 Subject: Re: Freezing Variable Assignment Austin Ziegler wrote: > On Mon, 6 Dec 2004 11:51:55 +0900, Nicholas Van Weerdenburg > wrote: ... >>It's in the same vein that I think Observable should target a >>instance variable (an attribute, more generally) of an object, >>rather than an entire object. > > > Why? It's useful in GUI code, where each control, field, etc. is wired up to one or more attrs in the window instance, and other related windows can be wired up to those attrs too, to keep their state synchronized. See, for instance, foxtails on raa, which uses FXRuby and observable (also on raa). That observable lib (which should have been called observable-attr) is just what Nicholas described: it makes attrs observable.