r/badcode – Telegram
r/badcode
41 subscribers
721 photos
732 links
r/badcode now on Telegram!
Bot: @reddit2telegram_bot
Chat: @r_channels
Download Telegram
Classmate wanted me to check his ticketing system’s code for errors..
https://redd.it/106ydx7
@r_badcode
Honestly i have no idea why i did this, it serves absolutely no purpose
https://redd.it/107g28g
@r_badcode
quite literally accidentally found a sql injection at the European Union 's website.
https://redd.it/107uhrl
@r_badcode
I simplified it a little - but this is what we have in production. „You guys heard about those 'backups'? Let‘s do one too!“
https://redd.it/108bg99
@r_badcode
It's so ugly but it works! Object with month name as key and array of first day and last day of that month.
https://redd.it/109a35l
@r_badcode
Hey, at least it works...
https://redd.it/109jly1
@r_badcode
Friend asked me why LeetCode wouldn't accept this...
https://redd.it/10aogpv
@r_badcode
Javanoscript teacher's code (even with improved v2)
https://redd.it/10at37m
@r_badcode
actually fixing errors is for nerds
https://redd.it/10c20dd
@r_badcode
the code speaks for itself
https://redd.it/10bxele
@r_badcode
Found this in my old code
https://redd.it/10d9ksd
@r_badcode
From the AQA Programmer Team for our A Level exam
https://redd.it/10dr2p7
@r_badcode
Comments? Standards? Nah, I prefer chaos.
https://redd.it/10dplpr
@r_badcode
From the official Dutch government authentication app
https://redd.it/10dom31
@r_badcode
My classmate told me his code wasn't very clean... But this one still surprised me
https://redd.it/10dlss3
@r_badcode
Python oneliners are awesome! (Someone explain me what that code is doing)
https://redd.it/10enxpp
@r_badcode
Honestly I though I was pretty smart, but someone told me this is honestly r/badcode material.....
https://redd.it/10esl87
@r_badcode
Went ahead to check the line blame and found that these 2 lines were committed up on the same commit. The commit just commented the top line and added the bottom line. WHICH IS THE SAME THING.
https://redd.it/10f4qyd
@r_badcode