Movies vs life (lemmy.world)
![](https://kbin.spritesserver.nl/media/cache/resolve/entry_thumb/d2/f7/d2f7eaaca88618f6d9ed9a44e42acc6e13a044b9482473f2af4ddc1440e6316c.jpg)
This magazine is from a federated server and may be incomplete. Browse more on the original instance.
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!
Explanation: it’s mostly due to how js does type conversion. for the Ls, it’s...
As title
cross-posted from: programming.dev/post/536596...
IMHO, it’s a horrible hack that is just broken. It’s obscure and we need to rewrite it because it has a bad structure. ^X^Cquit^[ESC][ESC]^C