On Sun, Oct 21, 2012 at 8:37 AM, nunb <[email protected]> wrote:
> >> Yes. I was actually quite impressed, while reading the code, how many >> advanced CL techniques and idioms Slava learned and applied -- and applied >> them correctly and appropriately, at that. >> > > I agree, and for this reason I think it could serve as a good introduction > to CL in all its glory. Siebel's PCL book is a good adjunct as well. > Heh, I don't know if I would start someone out on CL by showing them Weblocks. But it might be a good subject for an advanced course. > > >> Macros, multimethods, daemon methods, method combination, metaclasses and >> the meta-object protocol, lambda expressions everywhere, >> > > The macros are the only things that get hairy, don't recall metaclasses > (in views?) though. > There's a WIDGET-CLASS metaclass that's used to automatically mark widgets dirty when any of their slots are modified. > Tracing through the method combinations of data-grid is a bit trying, but > also ultimately enlightening. Not sure what you mean by daemon methods > (:before/:after?) > Yes, :before, :after, and :around methods are sometimes collectively called daemon methods. > , but the code-base (and implementing your widgets in the same style) > serves as a good, clean introduction to multimethods & MOPishness. > > I particularly like that for an imperative programmer, it demonstrates a > 'cleaner' approach within the imperative approach (localization of state, > separation of concerns with method combinations etc). > Agreed. -- Scott -- You received this message because you are subscribed to the Google Groups "weblocks" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/weblocks?hl=en.
