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!
I did it the other day!
I was trying to pad a base64-encoded string with the proper number of
=
characters to get it up to a multiple of 4 because our stupid build toolchain would explode if it wasn’t.