How to write code that does absolutely nothing in 30 lines, comment adds another layer to this insanity
https://redd.it/11yz4hn
@r_badcode
https://redd.it/11yz4hn
@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
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
https://redd.it/126qbkl
@r_badcode
Function that has the vibe of that "This floor is made of floor" meme.
https://redd.it/128dvrd
@r_badcode
https://redd.it/128dvrd
@r_badcode
Worst code found in prod to date. Used to solve SQL operators.
https://gist.github.com/roundskytrevor/9e89947bae9054c58755943a1637464b
https://redd.it/12cogna
@r_badcode
https://gist.github.com/roundskytrevor/9e89947bae9054c58755943a1637464b
https://redd.it/12cogna
@r_badcode
Gist
Worst code found in prod to date 04-05-2023
Worst code found in prod to date 04-05-2023. GitHub Gist: instantly share code, notes, and snippets.
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
https://redd.it/12d1pgp
@r_badcode