r/programminghorror • u/just-the-facts-maam • Nov 17 '21
r/programminghorror • u/[deleted] • Dec 27 '24
FFMpeg developers are a different breed of human (libavutil/x86)
r/programminghorror • u/NatoBoram • Nov 26 '23
Typescript The entire TypeScript ecosystem is fucked because of `undici-types` at the moment
r/programminghorror • u/SiggyMyMan • Sep 11 '24
Python My professor keeps all of his in-class files in his downloads folder
r/programminghorror • u/DaPragmaticProgramer • Jul 01 '16
[RANT] Git Sucks!
There, I said it.
Now that I succeeded in irritating most people, let me explain: Git is an error prone overkill for most small and medium sized projects.
Remember, Git was created to handle Linux development; most projects have a single relationship with the remote server. So, first, it’s an overkill to use, like shooting pigeons with a Cruise missile.
Second, because of its power, it’s extremely complex and makes it really easy to shoot yourself in the foot.
Most version control systems need a page or two to explain the basic commands. The Pro Git book is 550+ pages long.
So why, you, as a developer would use Git? What happen to "the best tool for the job"? What happened to KISS (not the rock band)?
Is it because you want to look cool? Or you think your project is going to be as large one day as the Linux kernel? Or your company is forcing you to?
I apologize for my first post being a rant, but recently I was forced to use Git in a new repository and it has been nothing but pain, for almost every simple step my old trusty GitHub GUI started throwing errors.
Looking online, it’s like a rash – it’s not only me getting into issues. So the problem is deeper, I believe with the model itself. We need a simpler CVS; any suggestions?
r/programminghorror • u/gfdsayuiop • Aug 21 '24
Python Dumb turtle senior dev writes 2000 lines of code in one file.
This dumb turtle wrote 2000 lines of Python in one file, combined with streamlit, the vector store code, llm code, web crawler code, image gen code and all. Client says the UI looks terrible, so I get handed the entire project to convert it into a backend + react frontend.
I’m just a stupid lil Junior. And he’s supposed to be a senior dev. Why does he do this. Logic is repeated multiple times across the file. Why?
Help me for the love of god
r/programminghorror • u/CodexOne03 • Jan 28 '22
c++ This is how my IT teacher writes switches. Please send help
r/programminghorror • u/ultrakd001 • Jun 09 '15
Happened today in production
So today I was in work and I logged in to a production server using putty. I had to fix some php scripts. So firstly I ran cat file.php
and I used the mouse to copy it. However after I copied it I somehow right clicked in the terminal. Now comes the horror. The clipboard contents were copied to the terminal I stood there like and idiot watching bash try to run line by line the php code I accidentally pasted. I had to go through 250 lines of code one by one and try to see if anyone did something bad like rm -rf /*
Fortunately nothing happened
r/programminghorror • u/tree_7x • Dec 31 '23
ChatGPT just gave me a find command that would have deleted all of my development files (I commit my changes once a year)
r/programminghorror • u/urioRD • May 23 '22
Typescript I love JavaScript/TypeScript :)))))))))
r/programminghorror • u/Lumpy-Criticism-2773 • Oct 25 '25
How r/developersIndia deals with sub drama/criticisms. What could go wrong?
They have a rule to not allow meta topics/drama in the sub but this is how they designed the filter. I made a fully compliant post yet it got deleted due to a false positive. It's a shame that a developers sub has it.
r/programminghorror • u/Halo3a • Feb 09 '24
C# Found this gem on my desktop... This is the only class.
r/programminghorror • u/yakupaslantas • Aug 20 '24
Shoud I focus more on writing clean code or is this fine?
Thanks in advance! Question in title. Also the function name is self explanatory
r/programminghorror • u/Xor_Boole • Jul 04 '15
Yes, Java supports shebangs.
Let Hello.java be the following:
public class Hello {
public static void main(String... args) {
System.out.println("Hello, World!");
}
}Then, running the following shell commands:
javac Hello.java
jar -cfe Hello.jar Hello Hello.class
echo "#\!/usr/bin/env java -jar" > hello
cat Hello.jar >> hello
chmod +x hello
./hellowill produce the output "Hello, World!". Java will ignore the shebang when parsing the jar, until it hits the zip header.
Wat.
r/programminghorror • u/[deleted] • Jul 14 '23
Why do most repos suck? can't just run them without hassle?
Like wtf, most repos i download for learning purposes dont compile, require lots of dependencies, are completely instructionless, if they have instructions they are incomplete and are not compatible with most recent dependecies, its just stressing. Is that just me or they mostly suck because devs dont care?
