News for hackers. Stuff that matters.
Re:A Square Is Not A Rectangle by silentbicycle on Monday September 14, 2009 @08:06PM (#822916)
Have you ever used a language that makes heavy use of pattern matching? Prolog, in particular, or to a lesser extent (due to increasing amounts of distraction by other novel features) Erlang, OCaml/SML, or Haskell. It sounds like you're essentially describing functional dispatch based on structural attributes or current characteristics, rather than a (generally fixed) object identity.
Re:A Square Is Not A Rectangle by tetha on Tuesday September 15, 2009 @08:33AM (#823704)
yes, this is where a large part of the idea comes from.