Cook Computing


July 21, 2004 Written by Charles Cook

Several blogs have linked to Boo recently and last night I downloaded the distribution to investigate some of the ways in which it is different to C#, e.g. type inference, first class functions, automatic variable declaration, duck typing, syntactic attributes and syntactic macros.

Before getting into the new stuff I chose something familiar:

import System
import CookComputing.XmlRpc from CookComputing.XmlRpc

interface IStateName:
        def GetName(num as int) as string

obj as IStateName = XmlRpcProxyGen.Create(typeof(IStateName))