About Me
Hi, I'm Simon Whittemore, a developer living in London. I've been a Developer for about 14 years, and have been working with .NET and C# since version 1.0. I have extensive experience developing maintainable, well architected Web and Desktop Applications in the Financial and IT Services industries, and have successfully integrated Open Source .NET applications and frameworks into processes and software.-
Recently on Twitter
Category Archives: Uncategorized
Copy spreadsheet as values
Mmmm, a VBA post. Hopefully there won’t be too many of these. Our system has an excel interface, and many models are built on top of this interface. The issue with this is that when the spreadsheet opens, it will … Continue reading
Posted in Uncategorized
Comments Off on Copy spreadsheet as values
Generate a Patch with Mercurial
This is more of a note to myself so I remember the next time I need to do it, but perhaps somebody will find this useful. If you are generating a patch file for a Mercurial project, it appears that … Continue reading
Posted in Uncategorized
Comments Off on Generate a Patch with Mercurial
Making the tedious exciting – Automapper
If you take it as a given truth, that you do not want your presentation layers to be exposed to Domain Objects directly, then you need some way of “mapping” them to a Presentation Model/DTO structure. Developers hate writing this … Continue reading
Posted in Uncategorized
Comments Off on Making the tedious exciting – Automapper
How I Learned to Stop Worrying and Love the DVCS
Frankly, I have been a touch cynical about the love shown in the .Net community for Git and Mercurial. Sure, I thought, they might be better than Subversion, but how much better could they be? Surely, this was just effort … Continue reading
Posted in Uncategorized
Tagged dvcs, git, source control
Comments Off on How I Learned to Stop Worrying and Love the DVCS
Compiling Objective-C on Windows via Command Line
I’ve been tinkering with Objective-C for a few weeks on my Mac laptop. I wanted to find out if it is possible to compile on Windows for when I don’t have access to a Mac. I just wanted to be … Continue reading
Posted in Uncategorized
Tagged Objective-C
Comments Off on Compiling Objective-C on Windows via Command Line
What to Log?
People keep coming up to me at Christmas parties and asking me what I log in my applications. And I tell them: All unhandled exceptions, via an Application-wide exception handler Performance data for certain critical areas of the app In … Continue reading
Posted in Uncategorized
Comments Off on What to Log?
Unit testing code that uses a BackgroundWorker
The BackgroundWorker class is a fantastically simple way of firing off long-running tasks without the complexities associated with threading. However, tests that exercise code that uses a BackgroundWorker may not behave as desired. Unit tests run synchronously, and will not … Continue reading
Posted in Uncategorized
Comments Off on Unit testing code that uses a BackgroundWorker
Don’t Swallow Exceptions – Ever
Is there any good reason to do this? I say no. It makes your code run slower, and with tricky to debug errors. Throw exceptions early – then they will be dealt with during development, rather than in production. We … Continue reading
Posted in Uncategorized
Comments Off on Don’t Swallow Exceptions – Ever
Formatting code in WordPress
OK, so it is my second post, and things are going downhill already. Meta-Blogging. The first rule of blogging is no meta-blogging. Someone might find this useful though. I just figured out how to get nice code formatting with little … Continue reading
Posted in Uncategorized
Comments Off on Formatting code in WordPress