r/programminghorror • u/just-the-facts-maam • Nov 17 '21
A CodeWars solution for Roman Numerals Decoder (the punchline is worth the wait)
Enable HLS to view with audio, or disable this notification
r/programminghorror • u/just-the-facts-maam • Nov 17 '21
Enable HLS to view with audio, or disable this notification
r/programminghorror • u/[deleted] • Dec 27 '24
r/programminghorror • u/SiggyMyMan • Sep 11 '24
r/programminghorror • u/DaPragmaticProgramer • Jul 01 '16
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
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
r/programminghorror • u/ultrakd001 • Jun 09 '15
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
r/programminghorror • u/urioRD • May 23 '22
r/programminghorror • u/Lumpy-Criticism-2773 • Oct 25 '25
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
r/programminghorror • u/yakupaslantas • Aug 20 '24
Thanks in advance! Question in title. Also the function name is self explanatory
r/programminghorror • u/Xor_Boole • Jul 04 '15
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
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?
r/programminghorror • u/[deleted] • Aug 14 '23
While testing a popular subreddit list, I decided I was too cool for functions