I was just trying to innovate but guess I'll stick to what works ;-;
https://redd.it/10288ko
@r_badcode
https://redd.it/10288ko
@r_badcode
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