r/badcode – Telegram
r/badcode
40 subscribers
721 photos
732 links
r/badcode now on Telegram!
Bot: @reddit2telegram_bot
Chat: @r_channels
Download Telegram
Why you shouldn't write code at 1 am
https://redd.it/roi43m
@r_badcode
Destructuring and ternary's unholy union
https://redd.it/rn0iw1
@r_badcode
If u dont now what a Dict is :D
https://redd.it/rmsi1t
@r_badcode
I was wondering how could this test pass... Actually it doesn't, none of the tests work. We never run them, not even in our CI/CD pipelines. Nice !
https://redd.it/rmrgax
@r_badcode
Weird code. This man could make a tutorial on how to write inefficient code
https://redd.it/rmmsff
@r_badcode
Rate my hash function and function naming
https://redd.it/rllpgt
@r_badcode
Found copy pasted throughout multiple python noscripts running in production.
https://redd.it/rlif6p
@r_badcode
This went on for ~2000 lines. Letter salad variables and useless comments throughout.
https://redd.it/rkz3ds
@r_badcode
Found both of these functions in the same class...
https://redd.it/rkti94
@r_badcode
Ah yes, one key dictionary
https://redd.it/rknto8
@r_badcode
Friend's take on programming a GUI button
https://redd.it/rpfykg
@r_badcode
My friend is doing a project to make a crossword solver. This is one of the methods in the class.
https://redd.it/rk3k2o
@r_badcode
(no 'set -e' found in bash noscript) It just works!
https://redd.it/rk3hiu
@r_badcode
If only there was a simpler way…
https://redd.it/rji3xm
@r_badcode
You ever just take a step back and notice you've overengineered something to hell and back?
https://redd.it/rpo1wh
@r_badcode