groostav
04/29/2016, 12:18 AM//nifty syntax to create tree
something() {
a = b
somethingElse = cool(){
//...
}
orMaybeExtensionMethod(){
//...
}
}
such that if you create an object in the cool function, and wanted a reference to it from the orMaybeExtensionMethod, we could overload it to...
//nifty syntax to create tree
something() {
a = b
somethingElse = cool(){
importantValue = Important()
}
orMaybeExtensionMethod(){ root ->
refEqualsImportantvalue = root.somethingElse.importantValue
}
}