#programmingHorror

2026-01-02

Does anyone else wake up in the middle of the night and suddenly realize they have a subtle bug in their code, e.g., an off-by-one error?

#programming #programminghorror

Vladimir Savićfirusvg
2025-08-31
2025-07-21

in python, made by me, not as a joke

lemmy.dbzer0.com/post/49448418

N-gated Hacker Newsngate
2025-05-11

Rust devs think ++ is like a horror film where memory leaks are the monster that keeps coming back for sequels nobody wanted. 😂 Meanwhile, C++ devs are proudly riding that memory leak rollercoaster, proving the point with every malloc-mishap! 🎢💥
babaei.net/blog/rust-devs-thin

live footage of me reading the #limesurvey docs only to realise that there are no `else` or `else if` statements. don't mind me just nesting 50 `if` statements. :clownppuccin:

#programmingHorror

DCoder 🇱🇹❤🇺🇦dcoderlt@ohai.social
2024-11-04

As a programmer slash reverse engineer with two decades of experience, I have seen many things. But today I saw something new. A full SaaS application with its entire backend interface built as … a single <canvas> tag.

That’s right, everything — user/permission management, uploaded file browser, system configuration screens — everything is painstakingly drawn programmatically as individual shapes and texts. Thank fuck I’m here as a user and not a developer.

#ProgrammingHorror

Why? Why would you do this?

Does anyone know which
JSESSIONID cookie wins in this case? Based on my empirical studies, it is the last one, but I don't know it for sure.

#WebDev #ProgrammingHorror

Set-cookie headers for an HTTP response from browser developer tools. There are 5 headers for the same cookie with different values and expiry times.
2024-06-24

I don't know who needs to hear this, but you can't change IIS settings on a web server to force `Accept-Encoding: br` onto every HTTP request that comes in.

#programminghorror

Márton Salomvárymrc@mastodon.berlin
2024-01-08

It's been a while since I fixed something by carefully crafting a `setTimeout`. #JavaScript #ProgrammingHorror

JavaScript fragment containing the following line:

// Select current input text when the input gets focused
                    // (timeout needed for Safari).
                    setTimeout(() => event.target.select(), 1);
DCoder 🇱🇹❤🇺🇦dcoderlt@ohai.social
2023-12-20

Just two more days of this inconsistent nonsense…
#ProgrammingHorror

A screenshot from IntelliJ IDEA code search, showing the following results:

modifyed_date datetime DEFAULT NULL,
modifyed_date timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
modifyed_date timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
modifyed_date timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
modifyed_date datetime DEFAULT NULL,
modifyed_date timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
modifyed_date timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP
DCoder 🇱🇹❤🇺🇦dcoderlt@ohai.social
2023-09-21

freelancers, man

“my yarn build script fails, I’ll run `composer update`”
“shit, that didn’t help, I’ll install a new version of yarn”
“nope, let me just reinstall all the node_modules with this new version of yarn”
“yessss, it works now, time to push it”
“hey, dude, your build pipeline fails on my code, fix it”

#ProgrammingHorror

A screenshot from a Bitbucket pull request, showing three files:

xxxx / yarn.lock
Diff too large
The diff for this file is too large to render (639223 bytes).

yyyy / yarn.lock
Diff too large
The diff for this file is too large to render (1249228 bytes).

zzzz / composer.lock
Diff too large
The diff for this file is too large to render (170489 bytes).An image of Hank Hill with a tormented expression, surrounded by flames. Captioned “I’ve seen some shit / and some shit accessories”.
DCoder 🇱🇹❤🇺🇦dcoderlt@ohai.social
2023-08-24

*eye twitch*
*eye twitch*
*eye twitch*
*eye twitch*

I never thought I would be sorry to see our current SAP integration gone, but this freakshow is making me rethink that.

#ProgrammingHorror

A screenshot from a PDF called “Working with SAP Business One Service Layer”, showing the following text:

A session is started by a login request and is ended by a logout request. Each valid session has a unique session ID
which is distinguished by a GUID-like string. To make subsequent requests after login, the cookie items
B1SESSION and ROUTEID are mandatory and shall both be set in each request header. For example, to get an
Item with ID='i001', send the following request with a cookie:
GET /Items('i001')
Cookie: B1SESSION=PTRzIjYK-weN6-1Lx1-ZG0J-3ARxfjcU0Shy; ROUTEID=.node0Another screenshot from the same document:

Single quotes are required for string values such as 'c1', and no single quotes around integer values such
as 22.
If the entity key contains multiple properties, send the HTTP request:
GET /SalesTaxAuthorities(Code='AK',Type=-3)
DCoder 🇱🇹❤🇺🇦dcoderlt@ohai.social
2023-08-23

that sinking feeling when you realize this project has 100+ tests using #Symfony DomCrawler to open routes and submit forms, but they don’t have a single assert to verify the received response codes

#ProgrammingHorror

2023-03-03

I'm going to share a terribly embarrassing secret:

In a recent programming assignment I created a doubly linked list. Somehow I had a bug that wasn't always assigning a previous value to a node. Couldn't track it down for the life of me!

So... rather than tracking down the bug in the limited amount of time left before the assignment was due, I created a function that traveled down the list to compare previous and next values and force them to match.

It is the hackiest thing I have ever written and I hope the professor never finds it!

#programming #ProgrammingHorror #ProgrammingHumor

2019-11-23

あんまりにも意味がわからなすぎてなんかそういう流儀のフレームワークか何かなのかとも思うが、それにしてもさすがにこのパスワードの扱いは……
---
"Julien Renaux 🇵🇹☀️さんのツイート: "If you had to name THE most horrible part of this code, what would it be? 👀😑 #programmingHorror #JavaScript… "" twitter.com/julienrenaux/statu

Matthias KellerMatzekult
2018-08-11

RT @julienrenaux@twitter.com
If you had to name THE most horrible part of this code, what would it be? 👀😑

2018-08-10

RT @julienrenaux@twitter.com
If you had to name THE most horrible part of this code, what would it be? 👀😑 #programmingHorror #JavaScript

2018-08-10

I just can't get other how awful this code is.

It's like every worst pratice possible in one place.

Combined.

And it get worst and worst everytime you reread it 😐

Everything is a pure disaster.

> If you had to name THE most horrible part of this code, what would it be? 👀😑
> #programmingHorror #JavaScript

Source: twitter.com/julienrenaux/statu

vascorsdvascorsd
2017-04-20

Client Info

Server: https://mastodon.social
Version: 2025.07
Repository: https://github.com/cyevgeniy/lmst