this post was submitted on 15 Jan 2025
88 points (98.9% liked)

Programmer Humor

32893 readers
941 users here now

Post funny things about programming here! (Or just rant about your favourite programming language.)

Rules:

founded 5 years ago
MODERATORS
 

A small collection of WTF code snippets sorted by language.

you are viewing a single comment's thread
view the rest of the comments
[–] naeap@sopuli.xyz 2 points 2 days ago (1 children)

The compiler optimization example (IIRC #6) was unexpected, when just looking at the code

[–] ryannathans@aussie.zone 3 points 2 days ago (1 children)
[–] naeap@sopuli.xyz 1 points 2 days ago (1 children)

Hey, don't you curse on my bread and butter! ;⁠-⁠)

[–] ryannathans@aussie.zone 1 points 1 day ago

I'm sorry you gotta deal with that