r/badcode – Telegram
r/badcode
41 subscribers
721 photos
732 links
r/badcode now on Telegram!
Bot: @reddit2telegram_bot
Chat: @r_channels
Download Telegram
I was just trying to innovate but guess I'll stick to what works ;-;
https://redd.it/10288ko
@r_badcode
The PR noscript was: Make labels dynamic…
https://redd.it/1033kxu
@r_badcode
i fixed it for him and he reverted it back... why??????
https://redd.it/1036kpv
@r_badcode
This is some discord.js code I wrote 2 years ago...
https://redd.it/1035uz8
@r_badcode
Just wrote that and was wondering why it isnt working
https://redd.it/103mpf1
@r_badcode
A very unnecessary return line...
https://redd.it/1053bce
@r_badcode
Pointless while loop, no indentation and a missing closing curly bracket.
https://redd.it/105qm99
@r_badcode
Is this a good practice? Why?
https://redd.it/106jbwj
@r_badcode
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