GIGO: words unreadable aloud
Mishrogo Weedapeval
 

 

  Thursday 23 May 2002
Norvig's 1996 Design Patterns Presentation

Peter Norvig (now Google's "Director of Search Quality") was at Harlequin then. Harlequin sold the only commercial version of Dylan, and then later changed their name to the terrible Functional Objects.

This 1996 presentation shows, with code examples, how one can recast many of the GOF Design Patterns into a dynamic language with multi-methods, and many of the "patterns" either become invisible or are very much simplified.

Sidetrack: terminology rant: Lisp fans tend to mention multi-methods and claim that this makes CLOS "more object-oriented" than languages without multi-methods. I agree that languages with multi-methods are clearly more powerful than languages without; but I strongly disagree that this makes them "more object-oriented". The "object.method(...)" syntax (or [object method ...] in Smalltalk and Objective-C) is one of the more important factors in seeing a program as being object-oriented, and that syntax isn't usable with multi-methods. I haven't seen a language with multi-methods that has an object-oriented syntax for them. CLOS is generic-function-oriented. It is more powerful than single-dispatching languages. But it is not more obect-oriented.
12:39:45 AM   comment/     



Click here to visit the Radio UserLand website. Click to see the XML version of this web page. © Copyright 2007 Doug Landauer .
Last update: 07/2/6; 12:08:07 .
Click here to send an email to the editor of this weblog.

May 2002
Sun Mon Tue Wed Thu Fri Sat
      1 2 3 4
5 6 7 8 9 10 11
12 13 14 15 16 17 18
19 20 21 22 23 24 25
26 27 28 29 30 31  
Apr   Jun

Previous/Next