[–] 83 points 1 year ago* (5 children)

After working at blizzard for 51 years, I finally found an elegant solution by using the power of recursion

private bool IsEven(int number){
  if (number > 1) return IsEven(number - 2);
  if (number == 0) return true;
  if (number == 1) return false;
}
  • source
  • [–] 2 points 1 year ago*

    though this pic is in winter, and there could well be a bunch of trees just to the right off-camera

    (also the cars and the satellite dish give away that this is what a commieblock looks 50 years after being built)

  • source
  • parent
  • context
  • [–] 4 points 1 year ago* (2 children)

    white background with black text is pretty much the default everywhere and I think always has been, so specifying those colors is redundant (and breaks night mode, though I don't think that was a thing back when it was designed)

  • source
  • parent
  • context
  • view more: ‹ prev next ›