MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/badcode/comments/e5kj81/so_many_things_wrong/f9m6da1/?context=3
r/badcode • u/[deleted] • Dec 03 '19
106 comments sorted by
View all comments
3
But why?
3 u/unfunny_joker Dec 03 '19 Why not tho? 25 u/[deleted] Dec 03 '19 Because you could just:while true: print(‘69’) 2 u/xt1zer Dec 04 '19 I don't know how types values ranges work in python, but if that was C, the code would still make sense, because once an integer reaches its minimal value and then you subtract one, its value will revert to maximum, thus the while loop is finite
Why not tho?
25 u/[deleted] Dec 03 '19 Because you could just:while true: print(‘69’) 2 u/xt1zer Dec 04 '19 I don't know how types values ranges work in python, but if that was C, the code would still make sense, because once an integer reaches its minimal value and then you subtract one, its value will revert to maximum, thus the while loop is finite
25
Because you could just:
while true: print(‘69’)
2 u/xt1zer Dec 04 '19 I don't know how types values ranges work in python, but if that was C, the code would still make sense, because once an integer reaches its minimal value and then you subtract one, its value will revert to maximum, thus the while loop is finite
2
I don't know how types values ranges work in python, but if that was C, the code would still make sense, because once an integer reaches its minimal value and then you subtract one, its value will revert to maximum, thus the while loop is finite
3
u/shinydewott Dec 03 '19
But why?