in

Looking down on bad programmers

Looking down on bad programmers | programmer-memes, code-memes, program-memes, private-memes | ProgrammerHumor.io
programmer-memes, code-memes, program-memes, private-memes | ProgrammerHumor.io

Content

When you see someone writing code like this private bool IsEven(int number) if (number 1) return false; else if (number 2) return true; else if (number 3) return false; else if (number 4) return true; else if (number 5) return false; else if (number 6) return true; else if (number 7) return false; else if (number 8) return true; else if (number 9) return false; else if (number 10) return true; else if (number 11) return false; else if (number 12) return true; else if (number 13) return false; else if (number 14) return true; else if (number 15) return false; else if (number 16) return true; But you know that using "return false" as default can shorten that code 2x Everone is stupid except me