Pages

November 25, 2009

syntax highlighting

Here is some C-Sharp code

public static void Main() {
    Console.Out.WriteLine("test")
}

And some F-Sharp code

let xs = seq { for i in 1..10 yield (i, i*i) }
let result = 
   xs 
     |> Seq.iter (fun item -> printfn "%A" item)

the wonderful world of .net

love the innovation in programming language design happening in the world of .net.
with powershell, now even have a very respectable command line.
with windows7 now finally have a modern OS? may be, the jury is still out, i have been using it on my home install, so far so good.
i have been slowly but surely moving towards doing more and more hacking in F#.
have even been using it to get real work done - but so far these have been scripts in the 30 - 100 line range. even did a presentation at work about it!