saw a 2nd year CS guy run a maze solver (for final exam) with 300 nested if-statements. worked about 50% of the time. so he added another 5000 nested ifs and got it up to 90%. good enough!

you are viewing a single comment's thread
view the rest of the comments
[–] 5 points 3 years ago

It's so rare for me to have to use the modulo operator I'm actually excited when I come across a situation where I can.

  • source
  • parent