Justin du Coeur (jducoeur) wrote,
Justin du Coeur

Crossing the geek streams

This week, I came across the blog Yet Another Language Geek -- a random programming blog (too rarely updated), but a rather good one, focused on the intersection of functional programming techniques and .NET. As Microsoft ever-so-slowly begins to shift their stack towards more functional programming (which they are definitely doing, if you pay attention), this is turning into a rather useful resource. There isn't much here that's novel, but he does a good job of explaining concepts that every functional programmer knows, in terms that make sense to the typical C# developer.

Anyway, I was amused today, reading his article on Function Memoization, and discovering that it is written in terms of RoboRally -- he's using memoization to compute the cell types on the board, since they get reused so much. Very good article, with code examples that demonstrate how easy memoization is to implement in modern C#, and discussion of why it's useful. A particularly fine illustration of why I consider closures so important for any serious programming language...
Tags: games, programming

  • How I Spent My Birthday

    (Warning: diary ramble ahead.) Intercon was scheduled a couple of weeks earlier than usual this year -- our experimental hotel last year wasn't…

  • Hamilton Sing-Along

    Almost done with a *very* long weekend at Arisia. Generally been a great time -- worked hard, got to spend lots of time with friends, and have had a…

  • Musical Comedy

    The annoying cough I've been dealing with for a week finally turned into a full-on, OMFG, now-I-see-why-everyone's-so-draggy Monster Headcold…

  • Post a new comment


    Anonymous comments are disabled in this journal

    default userpic

    Your reply will be screened

    Your IP address will be recorded