r/badcode – Telegram
r/badcode
41 subscribers
721 photos
732 links
r/badcode now on Telegram!
Bot: @reddit2telegram_bot
Chat: @r_channels
Download Telegram
Found some legacy code at work yesterday...
https://redd.it/rc0oxt
@r_badcode
My submission for Advent Of Code, In my defense, the problem was actually hard
https://redd.it/rbtfbq
@r_badcode
Why would you ever do that though?
https://redd.it/rbpt5y
@r_badcode
From my console snake game
https://redd.it/rsbuml
@r_badcode
When you don't bother learning a language but you still have to write in it
https://redd.it/rigqog
@r_badcode
I have to write documentation for old projects since I'm leaving the company soon. Oh god.
https://redd.it/rbnvve
@r_badcode
Using recursion for the sake of recursion
https://redd.it/rslw1v
@r_badcode
GitHub Copilot is recommending me this code, pretty sure that AI is not taking our jobs this year.
https://redd.it/rshswk
@r_badcode
I felt like this would be an elegant solution but now I'm questioning if I should just toss it out cause it just feels so unnecessary
https://redd.it/rbdz22
@r_badcode
a part of program i made 1.5 years ago to solve daily homework. more info in comments
https://redd.it/razlu8
@r_badcode
This is how legends generate json!
https://redd.it/rawcil
@r_badcode
My classmate send me this wondering what is the problem. The more I look at it the more problems I find lol.
https://redd.it/rsu1lt
@r_badcode
Yet another beautiful function made by my friend
https://redd.it/r9un4t
@r_badcode
Periodically a friend sends me snippets from codebases he's forced to maintain. This is today's goodness.
https://redd.it/r9tk8q
@r_badcode
Finally found one in the wild!
https://redd.it/r9he6e
@r_badcode
You gotta give it to this dev for their patience and hard work!
https://redd.it/r97vbj
@r_badcode
I didn't remember how the find function worked, so instead of using that correctly I just pop back until it reaches a space
https://redd.it/r90lwt
@r_badcode
Shaders? Never heard of 'em. I'm not sure how this even worked
https://redd.it/r8y78n
@r_badcode
When you can't even type unsined
https://redd.it/rtc447
@r_badcode