September 2010 Blog Posts

A small but provocative thought on OOP

The role of a type system is to prove some property of you program is correct. The role of module system is dived your program into manageable/understandable chunks. An OO class confuses these too roles.

What is object oriented programming really all about?

People often ask me what functional programming is all about and why is it useful. In an attempt to answer this question in a way that is relevant to object oriented programmers it struck me it might be useful to look at what people find useful in modern object oriented programming. Once we know what programmers like about OOP, specifically what problems it helps them solve that structured programming didn’t, we can look again at FP and look at how it approaches these problems. While we could fall back on a traditional definition of what OOP is all about,...