I’ve just spent a useful and enjoyable day finally getting around to reading Clean Code, definitely a book to come back to time and again for reference, etc. However, given the subject matter, the book contains I was amazed to find in the section about “magic numbers” a statement that “some constants are so easy to recognise that they don’t always need a named constant”. Two of the examples given are the number of feet per mile and the number of work hours per day. I’m not sure how many people that work with imperial units could easily state how many feet are in a mile. If you are more used to using metric units then that figure has next to no meaning what so ever. And at least in the UK working hours vary depending upon the industry, company and even department that you work in. Whilst it doesn’t detract from the content of the book I’m not sure those statements should have got past the proofreading/draft review stage.
I’ve been hosting my blog on Blogger for the past 10 years. For the past couple of years, I’ve been looking at rebooting my blog, trying to decide whether to stick with Blogger, write my own blog platform (like all developers at some point) or move onto WordPress. I’ve never needed to set up a WordPress site previously, so this seemed to be the perfect chance to learn something new! So, my new blog will . . .
I’ve picked up my own .dev domain and have set up a very basic website at paulhadfield.dev. The site is hosted in Azure and I’ve set up continuous integration/deployment up in DevOps pipelines. As well as scratching that itch of creating my own website, something I’ve been talking about for a while, it will allow me to learn more about various Azure technologies. This is part of my plan to look into becoming a certified . . .