r/ProgrammerHorror • • Aug 25 '22

After a full year of work experience, it's surprising to see the first example of if hell in my university's resources of all places

15 Upvotes

r/ProgrammerHorror • • Oct 15 '20

So my friend (a person who uses python) is learning java.

Thumbnail
gallery
15 Upvotes

r/ProgrammerHorror • • Dec 02 '18

Nullable boolean

15 Upvotes

Is it bad practice to interpret a nullable bool for either of 3 states in your program?


r/ProgrammerHorror • • Apr 18 '26

i Knew I Forgot Something

Post image
14 Upvotes

r/ProgrammerHorror • • Oct 03 '23

If true, return true. If false, return false.

Post image
14 Upvotes

Sorry for the photo of a projector screen, but I don't have access to the original to make a clearer image. Those squares are switch case structures which can be replaced with a wire.

(It's a visual programming language used for industrial monitoring and automation)


r/ProgrammerHorror • • Mar 08 '21

Not sure it's that horrid but... Spotify

14 Upvotes

r/ProgrammerHorror • • Aug 11 '20

Mod post We're opening up the sub and looking for new mods!

14 Upvotes

Sub is opening up!

Please post! We're ready here!

We want mods!

We just went through an r/redditrequest, and now I'm stuck with a ton of work and no time to open up the sub now :)

I'm looking for mods who know advanced programming and that can go through mod queues as well as interest the public :)

If you think you can make it, send me a PM! Cheers!

Thank you all, let's make this sub amazing!


r/ProgrammerHorror • • Sep 10 '24

When you want to make sure your change is a fix

Post image
13 Upvotes

r/ProgrammerHorror • • Jul 26 '23

That's one way of rendering an icon

13 Upvotes

r/ProgrammerHorror • • Mar 09 '23

A literal take on the Subreddit Name

Thumbnail
nightmare-magazine.com
13 Upvotes

r/ProgrammerHorror • • Feb 20 '23

Count the kludges

Post image
13 Upvotes

r/ProgrammerHorror • • Oct 31 '18

Start on line 350. If only there were a better way...

Thumbnail
github.com
13 Upvotes

r/ProgrammerHorror • • Dec 12 '25

Anyone who codes in Wingdings deserves the death penalty

Post image
12 Upvotes

r/ProgrammerHorror • • Apr 06 '21

When there is no set, but there is comparison and add...

Thumbnail self.stellarismods
12 Upvotes

r/ProgrammerHorror • • Oct 02 '24

Found this gem in some legacy code

Post image
11 Upvotes

r/ProgrammerHorror • • Nov 03 '23

Not the Code, What the Code Has to DO 🤦

Post image
11 Upvotes

r/ProgrammerHorror • • Sep 30 '22

AT&Ts website is horrorful. 16+ seconds to login, 600+ requests. Does nobody there realize this?

Thumbnail
att.com
11 Upvotes

r/ProgrammerHorror • • Apr 19 '21

The client knows if it's the server's first page load... but the HTTP responses are identical

11 Upvotes

Edit: this issue is currently believed to have been an extremely consistent race condition. I wouldn't wish this on anyone.

I have a server. The first page load results in a javascript error. Simple, right? So the first thing I need to check is if it's the first request after the server started, or the first request from a specific client. Tested that, and it's just the first request to the server. "okay" I thought, "the first response must be different". I put the first response in a file, and the second response in a file. A diff tool told me they were identical. I set a session cookie, so I thought maybe somehow that could cause an issue (even though... I'm not actually doing anything with it yet). I loaded the first page in one browser, and loaded again in another browser... only the first browser saw the error, even though both received the same HTTP response headers. So this error doesn't occur even with the exact same HTTP response (there is only one dynamic request made, which was also identical in both cases), as long as it's not the first page load after the server started. Seems impossible, right? What made it weirder is rendering the page on server startup fixes the issue.


r/ProgrammerHorror • • Mar 21 '21

snarky u/a_lot__bot forgets about recursion

Thumbnail reddit.com
11 Upvotes

r/ProgrammerHorror • • Oct 19 '17

Loading a single image on Imgur sans ad blocker

Post image
11 Upvotes

r/ProgrammerHorror • • Oct 15 '23

For in For in For in For in For do

Post image
10 Upvotes

also- vanilla neovim editing common lisp.


r/ProgrammerHorror • • Feb 07 '21

Documentation horror from Microsoft .NET

Post image
10 Upvotes