Monthly Archives: October 2008

Turtle Graphics :: The big refactoring

Last time on “Turtle Graphics”, we ended up having the type Turtle -> [Turtle] on functions. The combine function had the type [Turtle] -> (Turtle -> [Turtle]) – Turtle. Let’s have some “fun”! First, we add a helpful parameter to … Continue reading

Posted in Uncategorized | 3 Comments

My first F#, Binary Chop

Yesterday, I really felt like trying out F#. To get some inspiration, I visited PragProgs katas, and chose Kata Two — Karate Chop. Or, actually, I just implemented a “functional” solution. I tried to make an imperative pointer-based solution (which … Continue reading

Posted in F#, kata | 8 Comments

Category Theory

Guess what landed on my hallway floor today: “Basic Category Theory for Computer Scientists“. Thank you Mr Mailman! There’s a lot of “greek” in there! Hopefully, I’ll decipher it (and understand it, of course).

Posted in books | 1 Comment

CoachTV

In the middle of August, David Heinemeier Hansson twittered this: Lars Pind is doing video coaching: http://coachtvblog.com/?p=3 — good thoughts on probability and significance. 4:59 PM Aug 16th Since that date, I have been following Lars Pind‘s fantastic video blog, … Continue reading

Posted in Uncategorized | Leave a comment

Podcast: Herding Code

There is a fairly new (May 2008) podcast that I listened to a lot lately (including their old episodes): Herding Code. These episodes are particularly nice: Glenn Block on Prism, Unity, and MEF (part 1) Glenn Block on Prism, Unity, … Continue reading

Posted in podcasts | Leave a comment

TDD, reflection and the PropertiesEqual extension method

In my last post I wrote about the extension method ForEach, which is a very simple but useful method, at least when it comes to readability. In this post I’ll try to explain another extension method, which I’ll call PropertiesEqual. … Continue reading

Posted in Uncategorized | 5 Comments

Code Kata : Monopoly

Yesterday evening, me and two other friends arranged a highly spontaneus and inofficial code kata, at my friend’s apartment. The task was to develop a Monopoly game, using TDD. It was sort of an experiment as well, we wanted to … Continue reading

Posted in kata | 1 Comment

Turtle Graphics :: Changing Interface

Recalling, my first idea of the Turtle Graphics posts was to see if it was likely that a beginner in functional programming would have invented monads by himself/herself. Let’s change the interface a bit, such that a command is a … Continue reading

Posted in haskell, turtle | Leave a comment

Some thoughts on Turtle Graphics Basics

In the comments of last turtle post, Joel pointed out a way to get commands composable. I didn’t quite get it to work, probably because of that Command is a type synonym and not a concrete type. The first time … Continue reading

Posted in haskell, turtle | 4 Comments

Joining Dotway!

Last Friday I joined Dotway! Dotway is a .NET consulting company and was founded in Malmö, but I will be working in the Gothenburg office. Dotway is a Microsoft Gold partner (achieved through competencies) and offers services such as software … Continue reading

Posted in Uncategorized | 1 Comment