In my previous blog post I described some behaviour of C# record types which was unexpected to me, though entirely correct according to the documentation. This is a follow-up post to that one, so if you haven’t read that one yet, please do so – I won’t go over all the same ground. Is this … Continue reading Records and the ‘with’ operator, redux→| Jon Skeet's coding blog
Postcodes After a pretty practical previous post about records and collections, this post is less likely to give anyone ideas about how they might tackle a problem in their own project, and doesn&#…| Jon Skeet's coding blog
Records and Collections This post is to some extent a grab-bag of points of friction I’ve encountered when using records and collections within the election site. Records recap This may end up being the most generally useful blog post in this series. Although records have been in C# since version 10, I haven’t used them … Continue reading Records and Collections→| Jon Skeet's coding blog
Storage Since my last post about the data models, I’ve simplified things very slightly – basically the improvements that I thought about while writing the post have now been implemented…| Jon Skeet's coding blog
Data models (and view-models) and how they’re used I was considering using the term “architecture” somewhere in the title of this post, but it feels too pompous for the scale of site. I could probably justify it, but it would give me the ick every time I used the term. But this post will basically … Continue reading Election 2029: Data Models→| Jon Skeet's coding blog
Technical overview This post is mostly for scene-setting purposes. There’s nothing particularly remarkable here, but it’s useful to get the plain facts out of the way before we get into genuinely interesting design aspects. Just as a reminder, go to https://election2029.uk if you want to see what any of this looks like at the moment. … Continue reading Election 2029: Technical overview→| Jon Skeet's coding blog
Introduction It’s been over 8 months since I started my UK Election 2029 site, and high time that I actually wrote an introduction post so that I can get into more detailed topics later. In 2…| Jon Skeet's coding blog
Shortly after writing my previous post, a colleague pinged me to say she’d figured out what was wrong – at least at the most immediate level, i.e. the exception itself. Nothing is wrong with the ordering code – it’s just that the exception message is too easy to misread. She’s absolutely right, and I’m kicking … Continue reading Election 2029: The Impossible Exception – Solved→| Jon Skeet's coding blog
I really thought I’d already written a first blog post about my Election 2029 site ( but I appear to be further behind on my blogging than I’d thought. This is therefore a little odd fi…| Jon Skeet's coding blog