r/badcode – Telegram
r/badcode
41 subscribers
721 photos
732 links
r/badcode now on Telegram!
Bot: @reddit2telegram_bot
Chat: @r_channels
Download Telegram
Reading a space-separated CSV file as a list of numpy arrays
https://redd.it/1207bai
@r_badcode
A code I did in high-school
https://redd.it/120vyw0
@r_badcode
I actually wrote this....
https://redd.it/120z5i7
@r_badcode
Forgive me for I have sinned
https://redd.it/12146hn
@r_badcode
In my defense, I was just starting programming
https://redd.it/1218243
@r_badcode
Thanks for nothing.. (Found inside java.awt.Font)
https://redd.it/121yu5v
@r_badcode
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