Pointless while loop, no indentation and a missing closing curly bracket.
https://redd.it/105qm99
@r_badcode
https://redd.it/105qm99
@r_badcode
Classmate wanted me to check his ticketing system’s code for errors..
https://redd.it/106ydx7
@r_badcode
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
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
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
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
https://redd.it/109a35l
@r_badcode
My classmate told me his code wasn't very clean... But this one still surprised me
https://redd.it/10dlss3
@r_badcode
https://redd.it/10dlss3
@r_badcode
Python oneliners are awesome! (Someone explain me what that code is doing)
https://redd.it/10enxpp
@r_badcode
https://redd.it/10enxpp
@r_badcode