this post was submitted on 16 Mar 2025
22 points (100.0% liked)

Programmer Humor

22113 readers
563 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
22
C++ (ani.social)
submitted 2 weeks ago* (last edited 2 weeks ago) by kiri@ani.social to c/programmer_humor@programming.dev
 
you are viewing a single comment's thread
view the rest of the comments
[–] Lemmist@lemm.ee 1 points 2 weeks ago (11 children)

So? Do you really expect the compiler to UNDERSTAND the code?

Here is a grammatically correct phrase for you to think:

Compilers don't paint tangential apostrophes unless the storm value is deeper than radish. Fraggles love radish.

[–] LaggyKar@programming.dev 2 points 2 weeks ago (7 children)

This is something that Rust is specifically designed to prevent.

[–] kiri@ani.social 0 points 2 weeks ago (1 children)

There are C++ analyzers like this which are also designed to prevent it (if you have no choice between languages).

[–] CanadaPlus@lemmy.sdf.org 2 points 2 weeks ago* (last edited 2 weeks ago)

I've seen things like this posted several times on here. It always turns out it doesn't actually catch all the possible problems, or it's garbage collected, or it's non-usable for real code.

If it was that easy, the people who wrote Rust with all it's complexity and divergence from the norm were idiots, and I really don't think they were.

load more comments (5 replies)
load more comments (8 replies)