211

Probably not a good title to seek upvotes. If it does get upvotes, more programmers get share in your pain ๐Ÿ˜…

you are viewing a single comment's thread
view the rest of the comments
[-] troyunrau@lemmy.ca 39 points 1 week ago

Insist they index from 1. Like God and Fortran intended it. ;)

[-] deadbeef79000@lemmy.nz 8 points 1 week ago

Fuck C and it's lazy shit pointer arithmetic array indexing shortcut. I.e. you just add the index ร— size(t) to the array pointer.

Bounds checking? We've heard of it.

[-] Naich@lemmings.world 7 points 1 week ago
[-] deadbeef79000@lemmy.nz 15 points 1 week ago

Like riding a motorcycle in a tee shirt and shorts.

[-] BigDanishGuy@sh.itjust.works 12 points 1 week ago* (last edited 1 week ago)

And sun glasses, don't forget the aviators.

While Mr "I can't code without a garbage collector" is still putting on his backplate of "oh no pointers are bad" and a duck typed full face helmet, to ride his interpreted moped, the big boys, Mr C-ool and Mr ASSembly, are already downing grain alcohol at the finish line.

But then again I really don't like to step out of my embedded RTOS bubble. It really depends on what you want to accomplish and how complicated your system is.

[-] deadbeef79000@lemmy.nz 4 points 1 week ago

embedded RTOS

That sounds like a domain where memory safety is secondary to size and speed... though compile time memory safety guarantees could help.

Good thing we have so many options!

This is the hardest I've seen a someone try to not mention Rust. I'm actually impressed.

[-] BigDanishGuy@sh.itjust.works 1 points 1 week ago

Have you seen rust? I couldn't code like that, what a silly language https://lemmy.world/post/26105353

[-] letsgo@lemm.ee 5 points 1 week ago

I've ridden a motorbike in a T-shirt and kilt before. That's ... fun ...

[-] logging_strict@programming.dev 1 points 1 week ago

so what if it's 100x slower /nosarc

[-] Jestzer@lemmy.world 5 points 1 week ago
[-] troyunrau@lemmy.ca 7 points 1 week ago

MATLAB is basically a UI wrapper around Fortran's BLAS and LAPACK -- change my mind. ;)

this post was submitted on 01 Mar 2025
211 points (100.0% liked)

Programmer Humor

21279 readers
1256 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