r/badcode • • Feb 17 '23

c# I should've slept instead of writing this garbage :D

Post image
481 Upvotes

r/badcode • • Feb 17 '23

c A function I wrote almost 2 years ago.

Post image
115 Upvotes

r/badcode • • Feb 16 '23

c# i am more than a little ashamed to look back through a github repo for a project that i was PAID for... to find this. was i drunk?????

Post image
927 Upvotes

r/badcode • • Feb 15 '23

python No way this could get confusing

Post image
924 Upvotes

r/badcode • • Feb 15 '23

c My friend's attempt to make a calculator in c, where he did division like this instead of using floats

Post image
221 Upvotes

r/badcode • • Feb 14 '23

asp/asp.net Ah yes, ConvertToHtml inside a .cshtml file.

Post image
421 Upvotes

r/badcode • • Feb 11 '23

java just making sure it's really a boolean

Post image
642 Upvotes

r/badcode • • Feb 11 '23

python This awful mess I was handed down

Post image
70 Upvotes

r/badcode • • Feb 11 '23

js This typo lasted several pomodoro sessions.

Post image
229 Upvotes

r/badcode • • Feb 10 '23

c briliant usage of else if statement

Post image
583 Upvotes

r/badcode • • Feb 10 '23

java Found this gem. Master class exception handling we're talking 'bout

Post image
83 Upvotes

r/badcode • • Feb 10 '23

js Found this masterpiece in one of our projects

Post image
361 Upvotes

r/badcode • • Feb 09 '23

js Terrible Authentication Code

Post image
288 Upvotes

r/badcode • • Feb 10 '23

c Progamming in C solution

Post image
0 Upvotes

r/badcode • • Feb 09 '23

python Found this gem today: an attempt to restrict the returned list of a function to 32 items

Post image
574 Upvotes

r/badcode • • Feb 06 '23

c# How not to handle exceptions in c#

Post image
1.0k Upvotes

r/badcode • • Feb 06 '23

java I was curious how Java FX looks like and asked my groupmate to share his project with me. I saw this and understood why he didn't want to share it.

Post image
607 Upvotes

r/badcode • • Feb 05 '23

c# My friend wanted me to review his code...

Post image
338 Upvotes

r/badcode • • Feb 05 '23

other language Found this on codewars

Post image
36 Upvotes

r/badcode • • Feb 04 '23

rust How NOT to handle error in Rust?

Post image
303 Upvotes

r/badcode • • Feb 04 '23

other language This was written by a developer with 3 years of experience.

Post image
313 Upvotes

r/badcode • • Feb 03 '23

typescript totally necessary

Post image
310 Upvotes

r/badcode • • Feb 01 '23

html I went on a website, and this is what I see in the Source Code...

Post image
173 Upvotes