this post was submitted on 05 Apr 2025
160 points (94.9% liked)

Programmer Humor

35007 readers
17 users here now

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

Rules:

founded 5 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 10 points 1 week ago* (last edited 1 week ago) (2 children)

Instead of this:

cout << "Hello world.\n";

You can do this:

cout << "Hello world." << endl;
[–] [email protected] 5 points 1 week ago

The fact that you used the namespace for cout but not for endl inordinately bothers me

[–] [email protected] 1 points 1 week ago (1 children)

something has replaced your lessthan signs with their HTML counterparts. such a silly thing to do in a code block

[–] [email protected] 3 points 1 week ago (1 children)

I think that's client side. Doesn't happen for me.

[–] [email protected] 1 points 1 week ago (1 children)

same here. AP isn't standardized enough, apparently

[–] [email protected] 1 points 1 week ago* (last edited 1 week ago)

nah its a lemmy app on android that didn't get an update in ages. probably just uses a faulty markdown renderer