r/badcode – Telegram
r/badcode
41 subscribers
721 photos
732 links
r/badcode now on Telegram!
Bot: @reddit2telegram_bot
Chat: @r_channels
Download Telegram
Funniest line of code I found at my company's codebase
https://redd.it/uc78tl
@r_badcode
Found this guy on codewars. The kata was to convert seconds in year, months, days and so on... Link if you want to see all the code: https://www.codewars.com/kata/reviews/550b304659513854f3000f52/groups/5e10d378bb266200013d5af5
https://redd.it/ucjpm0
@r_badcode
The output of `npm audit fix`...
https://redd.it/ud8604
@r_badcode
Try-catch inside a <input>.. Ugh.
https://redd.it/ud8kdo
@r_badcode
How I used to write my own Minecraft mod
https://redd.it/ud7u2m
@r_badcode
Looks like Python List Comprehension-phobia is a thing. This is a real commit by a teammate.
https://redd.it/ufihe1
@r_badcode
Because while(true) would've been too boring - spotted in a GH repo with over 7k stars
https://redd.it/ug63l1
@r_badcode
University lecturer provided me with some utility classes.
https://redd.it/ugzdi2
@r_badcode
Found in my own code from less than a week ago. I don't know what I was thinking...
https://redd.it/ujj3sa
@r_badcode
Nein, nein, nein, nein, nein! It's the second time I see ACHTUNG in an NLP library. Either developers have been playing too much Wolfenstein, or all the multilingual datasets made them confuse German for English. Code is redacted.
https://redd.it/ujj9xg
@r_badcode
I just wrote this gem and cant withhold it from you. Although I'm pretty embarrassed of it..
https://redd.it/ukb95v
@r_badcode
Will you find out why is my LED strip wouldn't go around itself properly?
https://redd.it/uklqdg
@r_badcode
deobfuscating a .io game and found this gem
https://redd.it/upl9hl
@r_badcode
Reread code I wrote in a module I created recently for a uni project…
https://redd.it/upp7n9
@r_badcode
Several year old personal projects are fun to look through
https://redd.it/uq814i
@r_badcode
They had good intentions
https://redd.it/uqaumb
@r_badcode
["🐸", "🐛", "🦋"]
https://redd.it/urnsl5
@r_badcode
How not to use unittest.TestCase
https://redd.it/usf3hy
@r_badcode