this post was submitted on 15 May 2024
592 points (97.0% liked)

Programmer Humor

19821 readers
353 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
 
you are viewing a single comment's thread
view the rest of the comments
[โ€“] [email protected] 9 points 7 months ago (1 children)

That and the weird aversion to introducing new or useful keywords, or even extending the symbol set that doesn't even use full ASCII.

[โ€“] [email protected] 3 points 7 months ago

Word! The whole snafu with co_routines has been quite the laughable show. It would have been trivially sortable if C++ did something like what PHP did, using a symbol to absolutely disambiguate what is a variable and what is not. That way eg.: await is a keyword, $await is a variable (perhaps a functor).

To make it even better, $ is already unused in C++!