Kurt StephensNerd Up! | ||||||||
metaobject protocolLL source on github, LL Design Talk Slides
The source for LL is available at http://github.com/kstephens/ll/tree/master. Also located there are the slides from my June 2008 talk at the Chicago Lisp Users Group on the design of the LL object-oriented Scheme interpreter: http://github.com/kstephens/ll/tree/master%2Fsrc%2Fll%2Fdoc%2Fll_system_... Cheap Advice for Ruby
Advice is a programming construct from the Lisp world that pre-dates aspect-oriented and object-oriented programming. Advice is code that is placed before, after or around an existing function’s body. Examples of advice can be seen in Emacs: in Emacs Lisp, the advice is specified with macro syntax that expands to lambdas. Wrote this (err… something similar at work :) in Ruby just before I found http://aquarium.rubyforge.org. The advice bodies are bound as methods using It provides simple See Aquarium for more industrial-strength AOP-style programming. Ruby : Touching The Obj-C Void : nil is nil
A long time ago, in Objective-C on the NeXT, one could often remove How many times have we seen this in Ruby?: def foo
bar && bar.baz && bar.baz.caz("x")
end
|
||||||||
Recent comments
2 days 18 hours ago
4 weeks 2 hours ago
5 weeks 4 days ago
7 weeks 6 days ago
7 weeks 6 days ago
11 weeks 1 day ago
11 weeks 1 day ago
13 weeks 10 hours ago
13 weeks 4 days ago
13 weeks 4 days ago