Category Archives: Programming

DiffPlex 1.1 Released

I released a small update to DiffPlex that helps improve performance for both the release and debug builds.  I now also package the release build in the download zip file instead of the debug.  The release build shows a significant performanc… Continue reading

Posted in C#, DiffPlex, Programming | Leave a comment

DRY and Unit Tests don’t mix well

When reading source code, I sometimes come across unappealing code(sometimes even my own).  However, there is one kind of “bad code” I see quite frequently.  It is a set of unit tests which have had the DRY (Don’t Repeat Yourself) princip…

Posted in Programming, Testing | Leave a comment

Parameterized State Transformer Monad in F#?

I have have been playing around with F# and I decided to create a state monad.  This worked out really well since I was able to leverage the F# computation expressions.  I then decided to try to extend this and make it more general by creatin…

Posted in F#, Haskell, Programming | Leave a comment

Self Documenting Code

I have come across many developers who believe that comments are not necessary to make code readable.  They argue that code should document itself.  By this they mean that the code you write should be clear and have good enough … Continue reading

Posted in Programming | Leave a comment