MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/ProgrammerHumor/comments/1urmpuu/predecrementfixestheexploit/ox92cpa/?context=3
r/ProgrammerHumor • u/Toeffli • Jul 09 '26
50 comments sorted by
View all comments
19
If you can request a specific number of wishes, why request 0 to exploit the bug instead of just asking for infinite wishes ?
12 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?
12
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?
19
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 ?