Today I discovered a nifty use for code contracts: logging return values (even when a method has multiple return points). Read on to find out more...
I recently went to the ACCU 2011 conference, for programmers who believe in ‘professionalism in programming’. There was an eclectic programme of talks, but I was struck by how often the presenters had something interesting to say about one topic in particular: simplicity. Rather than write up the individual presentations, I thought it would be more interesting to write about what was said about simplicity.
I have created an extension for Microsoft Visual Studio 2010, called VisualCobra, that does syntax highlighting for the Cobra programming language. Read on to find out more.
For many years now, The Sunday Telegraph has published a grid-based puzzle each week. Originally this was called a Nonogram, although it is now called a Griddler.
This article contains a Python program to solve this type of puzzle.