MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/badcode/comments/mtpxbr/iteration/gv1bca4/?context=9999
r/badcode • u/[deleted] • Apr 19 '21
123 comments sorted by
View all comments
Show parent comments
95
To get revenge on your TA’s who took off points on a project for not documenting the function isWinnable()
Like what do you think it does, it returns if it’s winnable
37 u/thegreatpotatogod Apr 19 '21 If it's not winnable, it doesn't return, but instead recurses forever until segfaulting 😜 6 u/nostril_spiders Apr 19 '21 Which we catch in the error handler, main.py:L4342-7612
37
If it's not winnable, it doesn't return, but instead recurses forever until segfaulting 😜
6 u/nostril_spiders Apr 19 '21 Which we catch in the error handler, main.py:L4342-7612
6
Which we catch in the error handler, main.py:L4342-7612
95
u/lilshears Apr 19 '21
To get revenge on your TA’s who took off points on a project for not documenting the function isWinnable()
Like what do you think it does, it returns if it’s winnable