as far as I can tell on a quick look the app is more or less some using the supplied primitives of cairo which are OO.

So no - I don't think you can make this code more "functional".

Of course you can build a "wrapper" function over each obejct member and use |> and such things but without gain.

FP style matters most in algorithmic and parallel code - IMHO it is a pain to write GUIs in true functional style. So I take the "algorithms = F#", "GUI = C#" road and am perfectly happy with it (just beeing porting a rule interference machine to F# and am loving it).

By on 11/25/2008 9:53 PM ()
IntelliFactory Offices Copyright (c) 2011-2012 IntelliFactory. All rights reserved.
Home | Products | Consulting | Trainings | Blogs | Jobs | Contact Us | Terms of Use | Privacy Policy | Cookie Policy
Built with WebSharper