Categories
Coding

Bad Habits

Watched Kevlin Henney’s talk on ineffective programming habits last night. Interesting talk, engagingly presented. His call to not put the word ‘Exception’ at the end of exception classes raised an eyebrow. He was specifically talking about .Net & it flies in the face of Microsoft’s explicitly stated best practice (“and?” is his response to that […]

Categories
Coding

Maintainable vs Correct

Joe Eames recently put up a poll on Twitter asking whether developers thought the correctness of code was more important than maintainability. I voted for maintainability but many responders disagreed. Given the constraints of a 140 character tweet I thought I’d write a blog post to clarify my thinking… Right up front I should say […]

Categories
Coding

C# 9 init

I really like the looking of what’s coming in C# 9. My favourite features so far scratches an itch that previously just wouldn’t go away. When creating a class with readonly properties prior to C# 9 you had to write something like this… … which is fine in as far as it goes but you […]

Categories
Grumpy

Blimey! There’s a lot to Learn …

I have some great friends from school but looking back on it the actual education was, for the most part, pretty indifferent. I love science & technology and I’m utterly absorbed by history, current affairs and all forms of general knowledge. Maths is a bit of bugger, but I’m still plugging away at beating it […]