r/badcode – Telegram
r/badcode
41 subscribers
721 photos
732 links
r/badcode now on Telegram!
Bot: @reddit2telegram_bot
Chat: @r_channels
Download Telegram
in a homework were they ask to make a func that return 3 numbers from highest to lowest. (For some reason for loops and such are not permited)
https://redd.it/tss6a6
@r_badcode
The randomizer will get it eventually (yes it can freeze easily)
https://redd.it/tsr697
@r_badcode
My brother in Christ, how am I supposed to understand this?
https://redd.it/ts6rc5
@r_badcode
My team has the worst data organization methods. We have array containing array containing array and so we wrote this down today....
https://redd.it/ttpryc
@r_badcode
Github Copilot is making stairs
https://redd.it/tvepim
@r_badcode
My interpretation of MS Team's brilliant file upload process that drives me crazy
https://redd.it/twejdj
@r_badcode
found in r/ProgrammerHumor, credits to u/Volume-Straight. (idk if it is a repost). noscript: "Brother is learning to code. His “anti-hacking” noscript had me dying."
https://redd.it/tx0o4y
@r_badcode
A perfectly normal way to check for the largest of 10 integers...
https://redd.it/tx4mby
@r_badcode
I just came across this thing at my work, I'm honestly stunned
https://redd.it/tx2plr
@r_badcode
Some are more random than others.
https://redd.it/ty1f38
@r_badcode
The more I look at it, the worse it gets
https://redd.it/tyg0si
@r_badcode
A parser written entirely on the type level
https://redd.it/tyyzme
@r_badcode
Came across this in a machine learning lib, trying to find out how particular recall and precision scores were calculated - made me laugh: `if x != 4: x = 4`
https://redd.it/u25h8w
@r_badcode
Found this monstrosity while refactoring some of my old code
https://redd.it/u2f33x
@r_badcode
Yandere dev school of if statements
https://redd.it/u2wm0v
@r_badcode
Is it okay if I knows its terrible?
https://redd.it/u2w5zz
@r_badcode
I wish people were taught basic logic before programming
https://redd.it/u3esbg
@r_badcode
Just some code i wrote a few months ago
https://redd.it/u3igf2
@r_badcode
[Javanoscript] I was trying to avoid using verbose else if statements, but this feels even worse
https://redd.it/u3qhjn
@r_badcode
This makes me question if it's bad or good code
https://redd.it/u3tyni
@r_badcode