What would it look like to disallow circular references in a language? I'm struggling to think of a case where I (intentionally) use them.
-
-
@LionelBarrow 2) in UI frameworks, a view tends to need to know who its parent is -
@LionelBarrow (and, related, other trees like the DOM.) - 1 more reply
New conversation -
-
-
@patrickc@LionelBarrow +1 Obj-C without delegates would suck. Also in a closure, referencing self is a circular reference in some langs.. -
@chrismaddern@patrickc Yea I don't think you could get away with no circular refs at all; some stuff just isn't a tree - 1 more reply
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.