Found a good quote from Martin Fowler, in his book Refactoring – Improving the Design of Existing Code: “By eliminating the duplicates, you ensure that the code says everything once and only once, which is the essence of good design.”
Category archives: Development
My First Refactor
Over the last Christmas I was thinking about investing so I developed a small tool which I was using to analyse stock market data. I was interested in checking what the rate of return on various stocks actually was if you use the Dollar Cost Averaging method of investment. I retrieved the data from Google […]
Clean Code
Why is Clean Code important? Code which is not well written is hard to read and understand. It’s a mess. Working with a mess is hard and prevents programmers from making changes easily. If not tidied up it will eventually deteriorate into unsupportable goop and you can’t sell goop. This is why Clean Code is […]
Can’t Open the Visual Studio Resource Editor?
If you ever get an error while trying to open the .rc file in the Visual Studio Resource Viewer (see image below) it may be because you have the resource.h file open in Visual Studio. Close that file and try to open the .rc file again.