who needs mocking when you can add a parameter to alter the behavior and leave a big fat comment on top of it
https://redd.it/10k9lfa
@r_badcode
https://redd.it/10k9lfa
@r_badcode
Code so bad, accidentally discovered an exploit in the CS50 Code checker
https://redd.it/10l2e47
@r_badcode
https://redd.it/10l2e47
@r_badcode
No where in the question did the OP say the number will have exactly 3 decimal digits, even said the opposite, yet he marks this guy correct!
https://redd.it/10lwk3g
@r_badcode
https://redd.it/10lwk3g
@r_badcode
Took me 20 minutes to find out why 62303102931264 != 62303102931264
https://redd.it/10mkiqd
@r_badcode
https://redd.it/10mkiqd
@r_badcode
This is from a maths course for non-programmers. Surely there’s a clearer way of doing this than using lambda. Also why don’t mathematics know how to name variables?
https://redd.it/10myf3t
@r_badcode
https://redd.it/10myf3t
@r_badcode