programminghorror

programminghorror 75 Comments
Rule 9 Reminder
Hi, I see a lot of people contacting me directly. I am reminding all of you that Rule 9 exists. Please use the modmail. From now on, I'm gonna start giving out
context in comments
programminghorror 29 Comments
context in comments
the variable `t` is of type `number | [number, number, number]`, and there are two overloads for lerp, one which accepts `number` and the other which accepts `[
programminghorror 16 Comments
Event handling code in my platform layer.
int platform_translate_message(MSG msg, pal_window* window) { pal_event event; // test WM_QUIT, WM_DESTORY, and WM_CLOSE switch (msg
Introducing Postful API
programminghorror 17 Comments
Introducing Postful API
Spray Pattern
programminghorror 140 Comments
Spray Pattern
programminghorror 5 Comments
Spot the difference...
https://preview.redd.it/qhw4w9z9gfdf1.jpg?width=640&format=pjpg&auto=webp&s=f1f66d62dd87728221638d2f95b5f5a0220ee255 App on prod threw an error t
Azure’s Inferno: Escape from API Hell
programminghorror 0 Comments
Azure’s Inferno: Escape from API Hell
programminghorror 6 Comments
papaJohnsOrder
I just placed an order from Papa J's and was met with this. I guess when I expect great pizza, I shouldn't expect great code. 😂 https://preview.redd.it/uqbq4p
bizarre switch-case statement from leaked roblox source code
programminghorror 14 Comments
bizarre switch-case statement from leaked roblox source code
Map
programminghorror 36 Comments
Map
Subsubsubsub
programminghorror 17 Comments
Subsubsubsub
Yes, this is how I unwrap objects in my C++ game. Let me try to explain myself
programminghorror 39 Comments
Yes, this is how I unwrap objects in my C++ game. Let me try to explain myself
Before anyone starts screaming at me for creating this monstrosity, let me at least try to explain myself: ResourcePtr is a type alias for `std::shared_ptr<
I laugh and cry with this
programminghorror 19 Comments
I laugh and cry with this
Why?
programminghorror 35 Comments
switch -> default -> switch
https://preview.redd.it/jx5yaq090wcf1.png?width=1261&format=png&auto=webp&s=591b68fb59e7ccc4270f57a35d80336b1b50590d
programminghorror 23 Comments
Can we stop calling VS Code an IDE?
I keep seeing people refer to VS Code as an IDE, and it’s honestly driving me a little nuts. Just today I saw it on Anthropic’s website, and you’d think a compa
programminghorror 22 Comments
Am I really a developer if I mostly rely on ChatGPT, Google, and copy-pasting code?
Hey everyone I’ve been feeling a little weird lately and wanted to ask something I think many might relate to. So here’s the thing: I can build apps, I do shi
The faulty Horizon software developed by Fujitsu that ruined the lives of hundreds of people in the ongoing UK Post Office Scandal contains the most horribly written code imaginable. And it's still in use today.
programminghorror 84 Comments
The faulty Horizon software developed by Fujitsu that ruined the lives of hundreds of people in the ongoing UK Post Office Scandal contains the most horribly written code imaginable. And it's still in use today.
Why Use MVC When The Controller Can Do Everything?!
programminghorror 89 Comments
Why Use MVC When The Controller Can Do Everything?!
Who needs a model when you just make calls from the controller??? I love my job
Good or bad C code?
programminghorror 51 Comments
Good or bad C code?
Goto hell with paranoic error-checking, or perfectly reasonable code when you don't have RAII and exceptions?
Am I wrong for hating on this?
programminghorror 75 Comments
Am I wrong for hating on this?
My coworker refuses to use descriptive named variables, and uses a vector to save out different "States" in x y or z..... in basically everything. /rant over
This is an active production api at my work, I don't think I need to explain.
programminghorror 101 Comments
This is an active production api at my work, I don't think I need to explain.
This can't be real.
programminghorror 8 Comments
This can't be real.
1linecode(mobile edition)
programminghorror 4 Comments
1linecode(mobile edition)
Should i laugh or cry
programminghorror 53 Comments
Should i laugh or cry
programminghorror 10 Comments
I had a nightmare
I dreamt that I was locked in an empty room not access to YouTube(or socials) but I could use chatgpt and others sites, a and I was forced to learn Golang 😭�
What happened
programminghorror 129 Comments
What happened
Next Page
Favorites