734
top 50 comments
sorted by: hot top controversial new old
[-] harbard@fedia.io 1 points 33 minutes ago

this is like when I built that web server in x86 assembly lol.

[-] Im_old@lemmy.world 1 points 9 minutes ago

I bet that thing was fast!

[-] Phoenix3875@lemmy.world 5 points 2 hours ago

React Native

[-] veganpizza69@lemmy.vg 2 points 2 hours ago

laughs in Vaadin

[-] PokerChips@programming.dev 6 points 6 hours ago

This reminds me. I got a search engine to build.

[-] Hackworth@sh.itjust.works 40 points 12 hours ago
[-] pineapplelover@lemmy.dbzer0.com 2 points 3 hours ago

I tried vibe coding a simple assembly program and it couldn't do it

[-] meme_historian@lemmy.dbzer0.com 161 points 15 hours ago

I see your pitiful vibe coding and raise you... SPITE CODING 👿

[-] ryathal@sh.itjust.works 62 points 14 hours ago

Spite coding is almost the original coding.

[-] sp3ctr4l@lemmy.dbzer0.com 10 points 10 hours ago* (last edited 10 hours ago)

I have definitely gone into a rageful fugue state and woken up a week later after reworking an entire code base from being an inconsistent mess of slop...

...into actually having a common library of functions instead of just rewriting slightly different versions of them 8 times, having those functions only actually instantiated for necesarry classes...

...rewriting every variable name and function name to an actually consistent and intelligible naming scheme...

... and finally, moving a whole bunch of shit out of some kind of global 'think' type loop that doesn't actually need to be called or checked every goddamned micro second.

Done that more than once actually.

Never look inside 'baby's first video game mod' code, unless you have healthy blood pressure.

But uh yeah, spite, hatred, and anger are indeed powerful motivators for making good code, lol.

... so many idiots just jam everything into a global, called every tick loop, and then claim that it just can't be optimized, because "the game engine just can't handle it"...

[-] RustyShackleford@programming.dev 3 points 8 hours ago* (last edited 8 hours ago)
[-] ZILtoid1991@lemmy.world 5 points 9 hours ago

I prefer the term "spite-driven development".

I wrote an SDL replacement but worse after SDL refused to work with audio streams for me even after a week of googling, it took me the same amount to get it work with WASAPI directly as looking up audio streams, instead of the many easymp3playback.dll type solution. Another one week was making ALSA working. At least it's in D, so I have an easier time with development.

I also almost was involved with a YanSim clone development called "Love Letter: My True Feelings", but shit just started to hit the fan (character designer just left), so I decided to not get involved as a coder.

[-] dejected_warp_core@piefed.world 27 points 12 hours ago

Speaking of coding out of spite, is nobody going to mention that his C code features a struct with over 20 fields in it?

[-] wheezy@lemmy.ml 15 points 5 hours ago

Oh man. You should see the source code for IOS (the Cisco one not Apple).

Spent 5 years working on it out of college. I think it's the most cursed code base you can imagine.

Not necessarily because of the massive struct defs everywhere. They are kinda needed when you're running an entire OS as basically a set of interacting Linux processes pretending to be an OS.

At some point Cisco realized they could not compete without putting a Linux kernel as their base. So they basically just copy and pasted the old code written in the early 90s for the IOS and put it into a set Linux processes.

To be clear. It's not just the front end. They didn't really change the code much from the old IOS. Its a cluster fuck of interprocess communication hacks that probably seemed like a good idea at the time.

It is a massive pain in the ass to code because you're basically doing everything on the Linux kernel and then frustratingly have to write the CLIs for IOS just so Cisco can continue to sell their proprietary OS with some of the most unnecessary hardware locks. Massive learning curve for any new engineer.

Literally, no one on the entire switching team knew how to send a message from a specific process to the IOS process. I had been assigned something that needed it. So I somehow figured it out and was "the guy" for that for the time I spent there.

Fuck. I'm gonna start ranting more if I go any further. But yeah, sometimes you need a massive struct because some idiot decided that forcing a closed source CLI on the market is a good idea for profits.

Definitely not a good idea for coding. But you learn quickly that no one actually cares about good code in this industry. There is no time for it. There is no reason for it. Just spit out garbage until it works and your manager won't care.

If you want clean code. Go write an open source project or a personal project.

[-] calcopiritus@lemmy.world 26 points 11 hours ago

Sometimes you can't not have a god class (struct in this case). When doing UI specifically, I always end up with one.

You can try using encapsulation to reduce the amount of fields technically, but in the end it's the same amount of information in a single god class.

[-] wise_pancake@lemmy.ca 16 points 12 hours ago* (last edited 12 hours ago)

That's not uncommon, is it?

load more comments (5 replies)
load more comments (1 replies)
[-] mohab@piefed.social 40 points 14 hours ago

What's this dude talking about?! Everyone knows no one hates React like people who code in React 😂 No one is gonna get pissed off watching this.

[-] criss_cross@lemmy.world 3 points 5 hours ago

I remember years ago when React was the savior of web apps Swooping in engineers from the clutches of JQuery and AngularJS (not to be confused with Angular 2+). Components we’re gonna make things simpler than the mess of JS files and global state.

And generally that’s true but we’ve traded that off for a mess of hooks and 700 line nested functions in nested functions and obtuse rules that only apply to react and not JS.

Complex web apps are hard.

[-] Schmoo@startrek.website 2 points 6 hours ago

I used to be a React dev. The only thing I hated more than React was my boss.

load more comments (4 replies)
[-] CookieOfFortune@lemmy.world 10 points 11 hours ago

Umm this is just being retro. Like using a film camera.

[-] 01189998819991197253@infosec.pub 1 points 6 hours ago

Raw film is objectively higher quality than raw digital. Are you saying that C is objectively higher quality than Rust?

[-] CookieOfFortune@lemmy.world 2 points 4 hours ago

Excerpt film isn’t objectively better…

[-] 01189998819991197253@infosec.pub 1 points 3 hours ago

That's what your original comment was eluding to, so I was confirming with you that that's what you meant.

[-] voodooattack@lemmy.world 4 points 9 hours ago
[-] ChairmanMeow@programming.dev 10 points 9 hours ago
[-] hraegsvelmir@ani.social 9 points 7 hours ago

More specifically, an Indian divider for large numbers, kind of like how 万 (read 'man') works in Japanese. While Japanese (and I think Chinese) divide numbers greater than 1,000 in increments of 1万, or 10,000, up until you hit 100,000,000, in India, large numbers get split into lakh, representing groups of 100,000.

[-] sag@ani.social 2 points 3 hours ago

Oh, Is it my turn to tell the Indian Numbering System?

Here how we divide

100 > Sau Hundred 1000 > Hajar Thousand 1,00,000 > 1 Lakh Hundred Thousand 1,00,00,000 > *1 crore * Ten Million 10⁹ > 1 Arab 100 Crores or 1 Billion 10¹¹ > *1 Kharab * Hundred Billion 10¹³ > 1 Nil Hundred Trillion 10¹⁵ > 1 Padma Quadrillion 10¹⁷ > 1 Sankh Hundred Quadrillion

[-] dzsimbo@lemmy.dbzer0.com 3 points 6 hours ago

It's so neat how different cultures adapted to numbers. Like French have something like 4 times 20 (and?) 2 to mean 82. In Hungarian if you say billió, that is one trillion rather one billion. We riff on the ending of million to express billion: milliárd.

[-] SingularEye@lemmy.blahaj.zone 25 points 14 hours ago

I love this guy he's a fucking freak of nature

load more comments
view more: next ›
this post was submitted on 10 Jul 2025
734 points (99.9% liked)

Programmer Humor

24912 readers
1453 users here now

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

founded 2 years ago
MODERATORS