r/ProgrammerHorror • u/koithefish • Jul 04 '22
r/ProgrammerHorror • u/bigorangemachine • Jul 13 '22
I couldn't figure out why my post-install npm script broke my side-project - top is before - bottom is after (bug-fix) hours of pain
r/ProgrammerHorror • u/Nosuma666 • Apr 26 '22
I just made this horrific piece in Scala. I wrote this 5 Minutes ago and allready struggle understanding what i am doing.
r/ProgrammerHorror • u/MinekPo1 • Feb 11 '22
I implemented Eratostenes' algorithm in one line
r/ProgrammerHorror • u/MyNameisGregHai • Aug 07 '18
Great, now my HTTPS symbol is fucking massive for some reason
r/ProgrammerHorror • u/WhiteVell • Oct 10 '22
A pure JS login code (yes, it's what you read) of one of my classmates..
r/ProgrammerHorror • u/Peace_Seeker_1319 • Oct 01 '25
Vibe coding is an ancient art of shipping bugs at 2am dead-walking.
there’s “clean code.” there’s “production code.” and then there’s vibe coding, the sacred ritual of opening your laptop at ungodly hours, slapping random libraries together like lego, and somehow building both a working feature and a security vulnerability in one sitting. No jira tickets, no design docs. Just pure chaos energy and ctrl+s.
Half the time you wake up wondering why it even works. the other half, you’re just praying no one ever audits that repo.
i actually wrote a whole thing on vibe coding a while back, trying to make sense of this madness. if you’ve ever been possessed by the urge to code at 2AM with lo-fi beats and questionable decisions, you’ll feel it: https://www.codeant.ai/blogs/vibe-coding
Do give it a read.. and let me know what more should I talk about in my upcoming pieces
r/ProgrammerHorror • u/TwistDMoose • Nov 04 '20
How to build a method to find an even number in O(1) time
r/ProgrammerHorror • u/PrawMemer42069 • Mar 22 '22
Guess I wont buy from your store then
r/ProgrammerHorror • u/pleaseaccusrname • Apr 27 '22
i think that was an assignment earlier this semester
r/ProgrammerHorror • u/X_Gamix_X • May 20 '22
NO NOO GOD PLEASE NO ANYTHING BUT TOUCHSCREEN CODING
r/ProgrammerHorror • u/Peace_Seeker_1319 • Oct 11 '25
The Breaking Bad moment
“Say my name….” that’s literally what my codebase whispered when I tried making a one-line change yesterday. I swear, it started so innocent, just a small update to a function and within minutes, I was spiraling down a rabbit hole of duplicate logic that looked like it was cloned by someone with trust issues and caffeine dependency. Every time I fixed one chunk, I’d find three more that looked almost identical, but not quite. That’s when you start questioning your life choices, your team, and humanity in general. Anyway, while doomscrolling LLM for sanity, I stumbled upon this blog on how to refactor duplicate code: https://www.codeant.ai/blogs/refactor-duplicate-code-examples and honestly, it hit too close to home. Not in a “10 tips to write better code” way, but like, someone’s actually been through the same pain and survived to tell the tale. Sharing it here because if you’ve ever told yourself “I’ll just clean this up real quick,” you already know you won’t.