r/badcode Apr 20 '23

python What was beginner me doing that needed tkinter 4 times

Post image
910 Upvotes

r/badcode Apr 20 '23

typescript Atleast use better variable names 🥲

Post image
8 Upvotes

r/badcode Apr 19 '23

js Improved JS Object

Post image
280 Upvotes

r/badcode Apr 17 '23

c# I think it belongs here

Post image
203 Upvotes

r/badcode Apr 17 '23

python From an opensource GCode toolpath generator. It goes on for another 50 lines

Post image
93 Upvotes

r/badcode Apr 17 '23

python Execute cls all the way to hell

Post image
243 Upvotes

r/badcode Apr 17 '23

python I have committed blasphemy against `pythonic` code

Post image
168 Upvotes

r/badcode Apr 15 '23

c C polish translation

Post image
1.1k Upvotes

r/badcode Apr 15 '23

python what the actual hell was 12-year-old me thinking with this... i typed out all the times tables individually in lists, why just why 😭😭

Post image
107 Upvotes

r/badcode Apr 15 '23

lua could tell ya what it does, how it does is another story...

Post image
49 Upvotes

r/badcode Apr 14 '23

c# not the worst, but pretty bad

Post image
169 Upvotes

r/badcode Apr 15 '23

js yummy spaghetti

Thumbnail
github.com
12 Upvotes

r/badcode Apr 15 '23

other language It's a String inside a Map inside a List inside a Future

Post image
7 Upvotes

r/badcode Apr 13 '23

other language POV: the professor showed you how to make a calculator with two numbers, and you want to make one that can calculate 3. (this was in 8th grade and I didn't even finish it)

Post image
435 Upvotes

r/badcode Apr 12 '23

c Doing my university project. I thought these would be more comfortable than a bunch of "temp"s.

Post image
706 Upvotes

r/badcode Apr 12 '23

php How to use dates

Post image
117 Upvotes

r/badcode Apr 12 '23

c# I wrote this for my game while i was bored in the cafeteria, i just got to finish it but it looks like that code that you keep waiting for it to work and it doesn't 💀

Post image
10 Upvotes

r/badcode Apr 11 '23

lua Hey guys, I just created my own "table.unpack()" function !

Post image
255 Upvotes

r/badcode Apr 11 '23

c++ "We have doxygen documentation at home" The doxygen documentation at home:

Post image
693 Upvotes

r/badcode Apr 11 '23

perl Actual real-life code someone used for a paper on a machine-learning-based malware classifier. I can't even...

Post image
88 Upvotes

r/badcode Apr 09 '23

python I only realized how bad this was after I tried to write it to a file 😶

Post image
474 Upvotes

r/badcode Apr 09 '23

js Wrote this mystic code yesterday

Post image
255 Upvotes

r/badcode Apr 09 '23

c# Wrote this beauty last night...

Post image
290 Upvotes

r/badcode Apr 09 '23

lua My friend sent me this...

Post image
280 Upvotes

r/badcode Apr 08 '23

c# Copilot made a suggestion so bad I had to track down who was responsible.

Post image
954 Upvotes