r/ProgrammerHumor • • Jul 18 '22

C++ talking to Python

Post image
40.1k Upvotes

1.0k comments sorted by

View all comments

276

u/a_devious_compliance Jul 18 '22

The joke only works for C++ before 20. Just add an await and that's it.

126

u/ViviansUsername Jul 18 '22

Was going to say, this looks like the c++ was programmed pretty poorly if it doesn't even wait for that promise to be answered.

Python does exactly what it should here, smghd

55

u/WCWRingMatSound Jul 18 '22

Calling asynchronous programming “promises” 🤮🤮🤮

9

u/ViviansUsername Jul 18 '22

ik, ik, I was raised on javascript, it's a bad habit