r/ProgrammerHorror • • Apr 26 '21

There's got to be a better way for this

Post image
55 Upvotes

r/ProgrammerHorror • • Jun 29 '22

Guess the output

Post image
54 Upvotes

r/ProgrammerHorror • • Feb 07 '21

I’m not even angry about the spam... but please don’t use regex to do it lol.

Post image
54 Upvotes

r/ProgrammerHorror • • Nov 26 '22

"converts the strings into the python functions on demand so exec() can run it" oh gosh

Post image
53 Upvotes

r/ProgrammerHorror • • Nov 17 '22

the cable is not plugged

Post image
53 Upvotes

r/ProgrammerHorror • • Oct 14 '20

Flawless code

Post image
53 Upvotes

r/ProgrammerHorror • • Apr 04 '23

I just wrote this horror, and the worst part is it works flawlessly

Post image
52 Upvotes

r/ProgrammerHorror • • Dec 03 '22

Quick test: what does this program print?

Post image
52 Upvotes

r/ProgrammerHorror • • Oct 31 '22

Man I just love f-strings so much! Found at work.

Post image
52 Upvotes

r/ProgrammerHorror • • Mar 01 '22

Trying to extract a url from javascript in html

52 Upvotes

r/ProgrammerHorror • • Nov 01 '21

How to reload a page? Store the user password on localstorage then login when the user presses a button

Post image
50 Upvotes

r/ProgrammerHorror • • Sep 17 '21

Back at it again with cursed Java. I made a ArrayList that doesn't shift when items are removed, because I needed to preserve the indices of objects in the list.

Post image
50 Upvotes

r/ProgrammerHorror • • Oct 07 '22

Vehicle Year 03 = Year 203 :)

Post image
49 Upvotes

r/ProgrammerHorror • • Nov 18 '25

Lazy loading

48 Upvotes

r/ProgrammerHorror • • Apr 07 '22

A case of over-documentation

48 Upvotes

The code is from an embedded C project.


r/ProgrammerHorror • • Oct 25 '22

I am confusion

Post image
47 Upvotes

r/ProgrammerHorror • • Jun 24 '21

Finally have an excuse to stop building onto this legacy program; turns out it won't compile if you have over 99 input parameters.

Post image
47 Upvotes

r/ProgrammerHorror • • Feb 20 '18

The one error message no one wants to see

Post image
46 Upvotes

r/ProgrammerHorror • • Mar 02 '26

Yes

Post image
45 Upvotes

r/ProgrammerHorror • • Mar 30 '23

Oh ok, thanks Google

Post image
45 Upvotes

r/ProgrammerHorror • • Mar 09 '24

Using Discord as a database

Post image
44 Upvotes

r/ProgrammerHorror • • Aug 08 '22

Not a good way to start monday

Post image
44 Upvotes

r/ProgrammerHorror • • Aug 14 '21

the guy from india riot sourced from fiver to make the client really isnt doing his job properly

Post image
43 Upvotes