all | popular | tags | rss

TDD is Dead, Long Live TyDD!

The inaugural meetup of our Young Haskell Padawans group was held yesterday. I have posted the slides for my talk “TDD is Dead, Long Live TyDD” on Github and Spea...

Continue Reading »

So how much of inheritance criticism is really valid?

Scala collections library has been receiving a lot of criticism of late. One of the reasons, among many, is its use of inheritance as a primary means of code reus...

Continue Reading »

Understanding monads

(On September 23rd, 2013, Aleksander Sumowski and I gave a talk on monads at Developer Meetup, ThoughtWorks, Pune. This post is a transcript of that talk.)

Continue Reading »

Easing the use of Embedded Document pattern

Martin Fowler recently blogged about “Embedded Document” pattern. It’s a very convenient way of dealing with JSON documents in web apps and we are using it for ou...

Continue Reading »

Stacking up Factor against Lisp bullet list

Out of a whim, I retook Factor yesterday. By some coincidence, Alvaro Videla also happened to retake it at about the same time. In a twitter conversation on the t...

Continue Reading »

Composition with non-deterministic computations

A deterministic computation has a type A -> B. It has input type A, and result type B. Only one result. Hence just B.

Continue Reading »

F# option cheat sheet

From what I have seen, pattern matching is overused in F#. Especially when dealing with options. It’s not hard to spot the following kind of pattern in F# codebas...

Continue Reading »

Emulating C#'s "default" keyword in Scala, and putting it on steroids

This is my first programming blog post. So please be gentle in your criticism. :-)

Continue Reading »