this post was submitted on 08 Jan 2025
859 points (98.1% liked)

Programmer Humor

23135 readers
1145 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
 
(page 2) 4 comments
sorted by: hot top controversial new old
[–] [email protected] 135 points 4 months ago (5 children)

For our American friends: the Opel Corsa is a car.

[–] [email protected] 62 points 4 months ago (3 children)

For the Brits, it's a Vauxhall Corsa.

load more comments (3 replies)
load more comments (4 replies)
[–] [email protected] 77 points 4 months ago (2 children)

C when I cast a char * * to a char * * const: ok

C when I cast a char * * to a char * const *: ok

C when I cast a char * * to a char const * *: WTF

C when I cast a char * * to a char const * const *: ok

load more comments (2 replies)
[–] [email protected] 43 points 4 months ago (3 children)

You don't even need to cast in Python, a reference is a reference.

load more comments (3 replies)
load more comments
view more: ‹ prev next ›