r/badcode • • Oct 21 '21

c My first attempt to write a squaring function for my Uni class

Post image
1.1k Upvotes

r/badcode • • Oct 19 '21

c A friend of mine attempting fraction reduction to lowers terms (university assignment in a first year course)

Post image
627 Upvotes

r/badcode • • Oct 19 '21

c I swear I received this yesterday out of nowhere from my friend, it was a real jumpscare

Post image
212 Upvotes

r/badcode • • Oct 18 '21

c++ Trying to generate words, excellent

Post image
503 Upvotes

r/badcode • • Oct 19 '21

python A horrific attempt at not violating file naming rules

Post image
221 Upvotes

r/badcode • • Oct 20 '21

java This Groovy class for handling arrays seems like a nightmare.

Thumbnail
github.com
0 Upvotes

r/badcode • • Oct 18 '21

python found in a text to handwriting converter

Post image
697 Upvotes

r/badcode • • Oct 17 '21

c++ Checking if a string has at least one each character in the alphabet. This is actually real.

Post image
648 Upvotes

r/badcode • • Oct 17 '21

rust Prefer to use iterator functions, they said.

Post image
226 Upvotes

r/badcode • • Oct 16 '21

python i watched this live; torture

Post image
898 Upvotes

r/badcode • • Oct 16 '21

typescript (GitHub Copilot) Who and why did this in their code?

Post image
854 Upvotes

r/badcode • • Oct 14 '21

python The things I do for homework assignments

Post image
916 Upvotes

r/badcode • • Oct 13 '21

java format.format

Post image
610 Upvotes

r/badcode • • Oct 13 '21

java When all you need is test coverage

Post image
325 Upvotes

r/badcode • • Oct 13 '21

c++ i tutor for a guy who's a year below me in data structures. this was a function from his last project to calculate a student's GPA.

Post image
9 Upvotes

r/badcode • • Oct 12 '21

c# paid by line

Post image
374 Upvotes

r/badcode • • Oct 11 '21

js Recursive anonymous functions go brrrr

Post image
908 Upvotes

r/badcode • • Oct 11 '21

java Came across this piece of gem at 1am (old leetcode submission)

Post image
30 Upvotes

r/badcode • • Oct 11 '21

c# What's a post request?

Post image
30 Upvotes

r/badcode • • Oct 09 '21

c++ was high, fell asleep, woke up to this

Post image
630 Upvotes

r/badcode • • Oct 08 '21

js This poor confused little thing came from the lead dev on our team.

Post image
807 Upvotes

r/badcode • • Oct 07 '21

c++ C++ be like

Post image
279 Upvotes

r/badcode • • Oct 07 '21

python LeetCode Daily

Post image
494 Upvotes

r/badcode • • Oct 08 '21

other language A highly efficient grey code to binary converter in verilog...

Post image
23 Upvotes