this post was submitted on 11 Jul 2024
430 points (97.4% liked)

Programmer Humor

18961 readers
1104 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 1 year ago
MODERATORS
 

Meme transcription [Kid drowning in pool]

In the background a person plays with a kid in the pool. The person is labeled “Companies updating their website”. The kid is labeled “The company logo”.

In the foreground a kid seems to be drowning. It is labeled “Useful information”.

In a second panel a skeleton sits at the bottom of the pool. It is labeled “The copyright year”

you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 39 points 1 month ago (8 children)

I thought everyone does <?php echo date("Y"); ?>

[–] [email protected] 21 points 1 month ago (5 children)

No no, we do

time_t t = time(NULL);
struct tm tm = *localtime(&t);
tm.tm_year + 1900;

Everyone writes their web server in plain C, right?

[–] [email protected] 4 points 1 month ago (1 children)

The cool thing to do now is to write it in Rust, only using the standard library.

[–] [email protected] 2 points 1 month ago (2 children)

And I hate it. Nice concept, but I don't like neither, the language nor compiler.

[–] [email protected] 2 points 1 month ago

It’s a very different vibe. I remember my first seg fault in C - kids days are missing out!

[–] [email protected] 1 points 1 month ago (1 children)
[–] [email protected] 1 points 1 month ago
  • The C compiler, when I parse a &(float) as (long) (it's actually an evil floating point hack to run Quake III on an X86_64 CPU emulated in Scratch running on Spotifys Car Thing) (This would never be possible in Rust)
load more comments (3 replies)
load more comments (5 replies)