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?
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?
❗️
The 80.000-line monster: How our entire company lived in a single server.js https://www.reddit.com/r/programminghorror/comments/1n4y7xd/the_80000line_monster_how_our_entire_company/ #JavaScript #DailyWTF #ProgrammingHorror
in python, made by me, not as a joke
Rust devs think #C++ 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! 🎢💥
https://www.babaei.net/blog/rust-devs-think-we-are-hopeless-lets-prove-them-wrong-with-cpp-memory-leaks/ #Rust #memoryleaks #programminghorror #developerhumor #codinglife #HackerNews #ngated
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:
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.
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
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.
It's been a while since I fixed something by carefully crafting a `setTimeout`. #JavaScript #ProgrammingHorror
Just two more days of this inconsistent nonsense…
#ProgrammingHorror
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”
*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.
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
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!
あんまりにも意味がわからなすぎてなんかそういう流儀のフレームワークか何かなのかとも思うが、それにしてもさすがにこのパスワードの扱いは……
---
"Julien Renaux 🇵🇹☀️さんのツイート: "If you had to name THE most horrible part of this code, what would it be? 👀😑 #programmingHorror #JavaScript… "" http://twitter.com/julienrenaux/status/1026449640181444608?s=12
RT @julienrenaux@twitter.com
If you had to name THE most horrible part of this code, what would it be? 👀😑 #programmingHorror #JavaScript
RT @julienrenaux@twitter.com
If you had to name THE most horrible part of this code, what would it be? 👀😑 #programmingHorror #JavaScript
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: https://twitter.com/julienrenaux/status/1026449640181444608
oh god - This JavaScript code powers a 1,500 user intranet application - https://www.reddit.com/r/programminghorror/comments/66klvc/this_javascript_code_powers_a_1500_user_intranet/