[ Content | View menu ]

OO Side Effect Free Programming

Mark Mzyk August 27, 2008

Last year Bob Martin gave my coworkers and me some training on how to implement Test Driven Development.  Bob advocated for very small methods – even suggesting that methods often only have one or two lines of code.  If they started approaching five to ten, they could probably be broken down into separate methods. Yesterday, […]

Functional Programming, Tests, and the Future

Mark Mzyk February 21, 2008

Michael Feathers has an interesting post up on the Beautiful Code blog.  In the post he notes the seeming oncoming rise of functional languages and then bemoans this because they are not object oriented and therefore cannot be easily tested. Michael feels that a strength of object oriented programming is its ability to overwrite methods […]

Functional Programming

Mark Mzyk December 17, 2007

Recently, I’ve been exposed to the ideas of functional programming.  I haven’t done any actual programming with a functional language (yet), but the ideas have come to fascinate me.  Closures captured my attention for a while, then monads came up.  I still have no firm idea what monads are, but they seem cool.  I’ll keep […]