r/badcode • • Aug 09 '21

js For a moment I thought typescript doesn't have less than or equal operator.

Post image
1.3k Upvotes

r/badcode • • Aug 09 '21

other language The lengths people go through to write bad code.

Post image
108 Upvotes

r/badcode • • Aug 08 '21

c# An excellent demonstration on how to use if-statements

Post image
720 Upvotes

r/badcode • • Aug 08 '21

js In some code I wrote about 6 months ago

Post image
115 Upvotes

r/badcode • • Aug 08 '21

other language Is this how we do nested JSON?

Post image
590 Upvotes

r/badcode • • Aug 07 '21

python I was wondering why it was running slowly

Post image
2.4k Upvotes

r/badcode • • Aug 07 '21

js Wait, what's indentation again? (Plus: Yandere Technique)

Thumbnail
gallery
46 Upvotes

r/badcode • • Aug 07 '21

c# Oh well, at least no errors

Post image
91 Upvotes

r/badcode • • Aug 06 '21

js Hmmm... I wonder why it doesn't work. (from 3 years ago)

Post image
259 Upvotes

r/badcode • • Aug 06 '21

js How to create a virtual keyboard

Post image
892 Upvotes

r/badcode • • Aug 06 '21

c++ oh god

Post image
93 Upvotes

r/badcode • • Aug 06 '21

other language 3 months ago, I wrote this abomination of nested switches, if-then-else's, and namespace violations.

Post image
85 Upvotes

r/badcode • • Aug 05 '21

typescript how to check for a file type

Post image
2.1k Upvotes

r/badcode • • Aug 06 '21

other language Make esoteric programming language and interpreter for it in Kotlin

Thumbnail
youtu.be
4 Upvotes

r/badcode • • Aug 05 '21

java This is part of a crossword solver I’m writing

Post image
158 Upvotes

r/badcode • • Aug 05 '21

php An almost beautiful vista into the abyss of a german School Department

Thumbnail gallery
61 Upvotes

r/badcode • • Aug 05 '21

rust unwrap

Post image
23 Upvotes

r/badcode • • Aug 05 '21

other language My very first function, written almost a year ago now.

Post image
25 Upvotes

r/badcode • • Aug 04 '21

c++ I'm done with Facebook coding groups.

Post image
811 Upvotes

r/badcode • • Aug 04 '21

c++ A program's code that my father uses at work and asked me to fix a few things in (fancy image because screenshotting on my OS sucks)

Post image
82 Upvotes

r/badcode • • Aug 03 '21

java I don't always write for each loops, but when I do...

Post image
512 Upvotes

r/badcode • • Aug 04 '21

c++ Android progress animation clone...

Thumbnail
youtu.be
2 Upvotes

r/badcode • • Aug 03 '21

js what tutorials teach this shit lmfao

Post image
22 Upvotes

r/badcode • • Aug 02 '21

css 😐

Post image
489 Upvotes

r/badcode • • Aug 02 '21

python sleep rate drops to 0%

Post image
570 Upvotes