The Rules Pattern (How to Drop Your Guard)
In your travels as a programmer, you will more than likely come across a body of code that looks a little something like the following:public bool CheckSystem(Computer computer) { if (computer.Ghz < 3) { return false; } if (computer.Ram < 4) { return false; } if (computer.DiskSpace < 10) { return…