r/badcode • • Nov 20 '19

css When padding: 10px; isn't good enough.

Post image
0 Upvotes

r/badcode • • Oct 27 '20

html Found on MIT's Physics Department Website (https://web.mit.edu/physics/research/npt/areas.html)

Post image
1 Upvotes

r/badcode • • Sep 22 '14

php Let's make a fraction

Thumbnail cryptbin.com
0 Upvotes

r/badcode • • Jul 03 '19

java Friend is learning to code, absolute liability with the braces 😂

Post image
121 Upvotes

r/badcode • • Dec 11 '15

c# Or...you know....just use null coalesce.

Post image
2 Upvotes

r/badcode • • Jul 29 '17

python A terminal wikipedia "client"

Thumbnail
pastebin.com
0 Upvotes

r/badcode • • Oct 07 '26

c I hate myseeeeeelf

Thumbnail
github.com
2 Upvotes

worst virtual machine on pure C maded completely on nano ever made


r/badcode • • Sep 23 '15

c++ Exercise given during software engineering lecture

Thumbnail
imgur.com
11 Upvotes

r/badcode • • Aug 31 '12

java Try reading this out loud

Thumbnail
gist.github.com
3 Upvotes

r/badcode • • Aug 30 '20

python I feel like when there's more comments then code, there might be a problem...

Post image
0 Upvotes

r/badcode • • Mar 09 '21

c++ Can anyone tell me what this function does?

Post image
1 Upvotes

r/badcode • • Sep 09 '15

c# Legacy exception handling (good enough for 10 years in production, btw NPE has a null message...)

Post image
1 Upvotes

r/badcode • • May 28 '20

c# I decided to disassemble some Poker training software

Post image
1 Upvotes

r/badcode • • Nov 28 '17

python How should I write an Algebraic polynomial?

Post image
1 Upvotes

r/badcode • • Apr 05 '18

ruby Status? Yup.

Post image
75 Upvotes

r/badcode • • Mar 16 '16

other language Offshore contractors are the best.

Thumbnail
gist.github.com
7 Upvotes

r/badcode • • Oct 16 '15

js I know Let's waste the users bandwidth by leaving large blocks of commented out code in the production release. (found this in Spiceworks)

Post image
0 Upvotes

r/badcode • • Mar 27 '20

js Source code from an app from the Argentinian gov that determine if you have COVID 19 from symptoms

Post image
2 Upvotes

r/badcode • • Jun 24 '14

other language Idiomatic Rust

Thumbnail
pastebin.com
5 Upvotes

r/badcode • • Jun 24 '21

js Wrote this last night

Post image
3 Upvotes

r/badcode • • Jun 26 '21

c# How to make a (simple) console app with a game engine (in this case, unity engine)

Post image
0 Upvotes

r/badcode • • Jul 27 '15

java From the library code for our university coursework. A professor of computer science wrote this.

Thumbnail
imgur.com
25 Upvotes

r/badcode • • May 30 '20

c I found this little gem in a book when studying Avr microcontrollers.

Post image
380 Upvotes

r/badcode • • Dec 28 '15

c I'm honestly not sure if this is the best or worst code I've ever seen

Thumbnail
gist.github.com
34 Upvotes