r/badcode – Telegram
r/badcode
41 subscribers
721 photos
732 links
r/badcode now on Telegram!
Bot: @reddit2telegram_bot
Chat: @r_channels
Download Telegram
I feel dirty for writing this
https://redd.it/122tvy2
@r_badcode
Best possible response body structure to manage surveys
https://redd.it/124l639
@r_badcode
Found this in a time picker
https://redd.it/125gt73
@r_badcode
Another legendary code from high-school. This one was in Python though. This is for a rock-paper-scissors game.
https://redd.it/126jt9p
@r_badcode
Found in a data pipeline at work co-developed with our main customer
https://redd.it/126qbkl
@r_badcode
I'm not proud, but it works
https://redd.it/126v5dg
@r_badcode
What this codestyle called?
https://redd.it/128658y
@r_badcode
Function that has the vibe of that "This floor is made of floor" meme.
https://redd.it/128dvrd
@r_badcode
Surely Text-Parsing One-Liners At Midnight Work
https://redd.it/12bz5ps
@r_badcode
Refactoring some public static field ridden code. Everything important is in public static lists in Global.cs and it all looks like this to a degree. Almost no OOP in sight
https://redd.it/12d1pgp
@r_badcode
I made this in a compute shader yesterday. The worst part is it actually makes it >0.5ms faster.
https://redd.it/12deeqh
@r_badcode
Throwback to some years ago that I did an AQA computer science project in 48 lines (yes the lines are so long they go off my 16:9 screen)
https://redd.it/12dxif5
@r_badcode
Unused variables?!?!? One of DOZENS of examples I'm finding in this legacy nonsense. Stuff passed around and never used, things assigned to intermediate variable for no reason. Were they TRYING to make this hard to read? And those Writelines?!
https://redd.it/12evdrn
@r_badcode
Not only morals of the person who made this is horrible also their code is
https://redd.it/12ffcoo
@r_badcode
Copilot made a suggestion so bad I had to track down who was responsible.
https://redd.it/12g1r80
@r_badcode
My friend sent me this...
https://redd.it/12gc9hy
@r_badcode
Wrote this beauty last night...
https://redd.it/12gezu9
@r_badcode
Wrote this mystic code yesterday
https://redd.it/12gxk1z
@r_badcode
I only realized how bad this was after I tried to write it to a file 😶
https://redd.it/12gwirz
@r_badcode