C++ Decrement Operator Confusion
i = i - 1; i--; i == 1; for (int i = 10; i-->0;) { std::cout << i; }
Three men react to different interpretations of a C++ loop condition at a conference table. The joke is that “i-->0” visually resembles a post-decrement followed by a greater-than comparison, while the surrounding labels contrast decrementing, decrement syntax, and equality testing. It is used as a reaction to confusing or clever-looking programming code.
three men / трое мужчинconference table / конференц-столsuits / костюмыwhite shirt / белая рубашкаchairs / стульяcurtains / шторыbrick wall / кирпичная стенаwooden table / деревянный столcomputer code / программный кодC++ loop / цикл C++programming syntax / синтаксис программированияblack text boxes / чёрные текстовые блокиhand-drawn meme face / нарисованное мемное лицо
- @profunctor_io / 3363 2019-11-06
- Type
- image
- Size
- 800×697 · 75.4 KiB
- Mood
- confused, absurd
- Language
- en
- Added