IoIo programming languageCairo Binding- July 26, 2007 Trevor Fancher has added binding for the Cairo graphics library which is now available in the repo. Thanks Trevor!http://www.iolanguage.com/blog/blog.cgi?do=item&id=107 Multiple Dispatch- July 19, 2007 Multiple-dispatch or multi-methods is the feature of some object-oriented programming languages in which a function or method can be specialized on the type of more than one of its arguments. - Wikipedia A typical multiple-dispatch example is a game with Asteriods, Bullets and Ships that have collision methods for each combination of interactions. In this case (and perhaps almost all cases), we only care about the first argument. And the problem is having to write switch statements like.http://www.iolanguage.com/blog/blog.cgi?do=item&id=106 |