As the post was written for people starting into the industry this is an example of clean code. You could argue this is cleaner: private bool test(int x, int y) { if (x == y) return true; return false; } But this not as readable for someone who may have 0 experience in the industry and self taught. Separation of methods, naming and unnecessary code was mostly the point around this, being the SOLID principles as a developer. If you prefer I can update this with more advanced understanding to keeping methods clean.
