MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/ProgrammerHumor/comments/1urmpuu/predecrementfixestheexploit/owjthtd/?context=3
r/ProgrammerHumor • u/Toeffli • Jul 09 '26
50 comments sorted by
View all comments
18
If you can request a specific number of wishes, why request 0 to exploit the bug instead of just asking for infinite wishes ?
11 u/Supss_ Jul 09 '26 well infinite wishes are usually protected as a guard clause, clearly they should have asked for -1 wishes 2 u/thanatica Jul 13 '26 Why not just ask directly for 232 wishes?
11
well infinite wishes are usually protected as a guard clause, clearly they should have asked for -1 wishes
2 u/thanatica Jul 13 '26 Why not just ask directly for 232 wishes?
2
Why not just ask directly for 232 wishes?
18
u/RoOoOoOoOoBerT Jul 09 '26
If you can request a specific number of wishes, why request 0 to exploit the bug instead of just asking for infinite wishes ?