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!
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!
At this point I want to doubt that they actually wrote it themselves, vs writing a metaprogram to generate the code.
Not sure if that would’ve made it better or worse 🤔
Oh, a metaprogram?
if
s printingif
s…