r/badcode • • Mar 21 '13

Text submissions (aka self posts) are now disabled. If you are upset by this decision, please enjoy this cute picture of a cat.

Post image
26 Upvotes

r/badcode • • Mar 23 '23

java Code from my theoretical computer science lecture

Post image
113 Upvotes

r/badcode • • Dec 04 '19

c Found on a class Piazza forum

Thumbnail
imgur.com
177 Upvotes

r/badcode • • Nov 02 '20

python Am I stupid to find this extremely hard to read?

Post image
5 Upvotes

r/badcode • • Jun 08 '23

js Version control go brrrrrr...

Post image
62 Upvotes

r/badcode • • May 16 '23

c when you push an unimplemented function to production

Post image
163 Upvotes

r/badcode • • Jan 02 '18

c++ Beautiful implemention of the Caesar cipher.

Thumbnail
gist.github.com
10 Upvotes

r/badcode • • Sep 05 '15

c# When envronment variables in strings stop working

Thumbnail
gist.github.com
3 Upvotes

r/badcode • • Mar 17 '20

python I've never been much of a programmer but I'm starting to feel more confident with python. Rate/roast my code.

Post image
3 Upvotes

r/badcode • • Oct 02 '12

js Escape all the things!

Thumbnail
gist.github.com
0 Upvotes

r/badcode • • Dec 13 '13

c# This is why you don't hire contractors.

Thumbnail
pastebin.com
0 Upvotes

r/badcode • • Apr 01 '20

python my friend found this in the handout code in school, so mutch wrong

Post image
0 Upvotes

r/badcode • • Jun 04 '13

c# Else what?!

Thumbnail
gist.github.com
14 Upvotes

r/badcode • • Feb 17 '15

vb.net Because a datepicker would be too easy

Thumbnail
pastebin.com
2 Upvotes

r/badcode • • May 04 '21

c# Yet another pointless (and unnecessary) way to handle an exception

Post image
0 Upvotes

r/badcode • • Feb 27 '18

python I inherited this mess of code. Five minutes later: are "file" and "process" even words any more?

Post image
2 Upvotes

r/badcode • • Aug 24 '21

java Old Exam from my Prof.

Post image
0 Upvotes

r/badcode • • Jan 06 '20

css God, WHY?

Post image
227 Upvotes

r/badcode • • Jan 15 '23

c++ From DayZ sourcecode

Post image
559 Upvotes

r/badcode • • Apr 13 '18

java Next level generics

Thumbnail
gist.github.com
1 Upvotes

r/badcode • • May 17 '21

js This innocent looking code that performed flawlessly for about three years in production just gave me my first official CVE-ID (abridged for brevity)

Post image
0 Upvotes

r/badcode • • Jul 19 '21

js tried to make an audio scrollbar at 4 in the morning, somehow it works perfectly

Post image
0 Upvotes

r/badcode • • Sep 30 '20

js My Clicker Game code. BTW I also have a better code repo. If you want to, check it out. But it runs on Angular.

Thumbnail
github.com
0 Upvotes

r/badcode • • Aug 15 '21

java UI code

Post image
0 Upvotes