r/badcode – Telegram
r/badcode
41 subscribers
721 photos
732 links
r/badcode now on Telegram!
Bot: @reddit2telegram_bot
Chat: @r_channels
Download Telegram
This graphics teacher is... something...
https://redd.it/tgqjuy
@r_badcode
A self-proclaimed genius at my school
https://redd.it/thsg2s
@r_badcode
My boss told me to refactor a function, I was like: well, it's just a function, It won't take me too much time and I will do it late at night, then I came up with this beautiful function, I need help guys :D
https://redd.it/ti93sh
@r_badcode
How to make things fun for your future self: a self-help guide
https://redd.it/tiomm3
@r_badcode
The best way to compare two dates, it works 100%!
https://redd.it/tkpq2x
@r_badcode
x or !x, that's the question
https://redd.it/tldsou
@r_badcode
A banner that alternates between two dynamic messages
https://redd.it/tmexm2
@r_badcode
Password required but there's no password set up at all!
https://redd.it/tofd29
@r_badcode
If you think about it, all odd numbers contain an 'e', so here is an implementation of isEven in a whopping O(1)
https://redd.it/tp3s1s
@r_badcode
dumb solutions to easy problems part 1: is even
https://redd.it/tphv5j
@r_badcode
I wrote this monstrosity a couple of years ago.
https://redd.it/tnp9in
@r_badcode
Commenting late @ night
https://redd.it/tqq5z0
@r_badcode
Boss asked me to approve his pull request... looks good to me. Approved!
https://redd.it/tt2tkc
@r_badcode
in a homework were they ask to make a func that return 3 numbers from highest to lowest. (For some reason for loops and such are not permited)
https://redd.it/tss6a6
@r_badcode
The randomizer will get it eventually (yes it can freeze easily)
https://redd.it/tsr697
@r_badcode
My brother in Christ, how am I supposed to understand this?
https://redd.it/ts6rc5
@r_badcode
My team has the worst data organization methods. We have array containing array containing array and so we wrote this down today....
https://redd.it/ttpryc
@r_badcode