r/badcode – Telegram
r/badcode
41 subscribers
721 photos
732 links
r/badcode now on Telegram!
Bot: @reddit2telegram_bot
Chat: @r_channels
Download Telegram
Guess what this code does! Wrong answers only.
https://redd.it/10jn1wo
@r_badcode
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
Code so bad, accidentally discovered an exploit in the CS50 Code checker
https://redd.it/10l2e47
@r_badcode
Why would anyone do this?
https://redd.it/10lp5dm
@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
This was written by a professor with a Ph.D
https://redd.it/10ltppz
@r_badcode
Top secret code documentation
https://redd.it/10m7u5n
@r_badcode
Well, I found out when was the last time I used switch
https://redd.it/10mfexv
@r_badcode
Took me 20 minutes to find out why 62303102931264 != 62303102931264
https://redd.it/10mkiqd
@r_badcode
found in the Yandex source leaks
https://redd.it/10mo9fe
@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
When using if-else is necessary?
https://redd.it/10of3vm
@r_badcode
I genuinely hate C++, it can't even simplify this...
https://redd.it/10oj36g
@r_badcode
when you wnat to study computer science master at lmu munich...
https://redd.it/10p49wj
@r_badcode
I wonder if there is an easier way to access params["ekme"] 🤔
https://redd.it/10m0sk2
@r_badcode
Well... At least i won't be replaced
https://redd.it/10r1qqg
@r_badcode
I went on a website, and this is what I see in the Source Code...
https://redd.it/10r5tdo
@r_badcode
I'm migrating a legacy VB.NET library to C#, this is the result.
https://redd.it/10rty8q
@r_badcode
note the col count. dude I work with doesn't believe in line breaks or naming anything. love it. btw this file is more than a 1,000 lines long.
https://redd.it/10s7k0o
@r_badcode