This link has been bookmarked by 23 people . It was first bookmarked on 09 Jan 2008, by ratbeard.
-
31 Oct 11
-
07 Dec 09
-
09 Jan 08
-
The requirement that relations like equivalence be symmetrical across heterogeneous types implies that the types themselves cannot be responsible for implementing equivalence for themselves.
-
-
17 Nov 07
-
04 Nov 07
-
29 Oct 07
-
The second approach is generic functions. A generic function has one definition of its semantics, its argument list, and is only specialized on particular types of arguments. —Erik Naggum discussing CLOS on comp.lang.lisp
-
The good news is this: dispatching at run time on two different types is a well-known problem, and the solution is called double dispatch. The problem with double dispatch is that it moves our equivalence code back into our nouns, and we don’t want that.
The Visitor pattern might be handy: it’s a way to add methods to an object at run time in a language like Java that supposedly doesn’t do that
-
-
28 Oct 07
-
26 Oct 07
Would you like to comment?
Join Diigo for a free account, or sign in if you are already a member.