Pikachu Refactors the Code
if (a == 0) { return true; } else { return false; } return (a == 0) ? true : false;
The meme shows Pikachu first presenting a verbose if-else statement, then appearing in sunglasses with a shorter ternary expression that does exactly the same thing. The joke celebrates clever-looking code refactoring and is used as a reaction to simplifying unnecessarily complicated programming logic. EN: The meme shows Pikachu first presenting a verbose if-else statement, then appearing in sunglasses with a shorter ternary expression that does exactly the same thing. The joke celebrates clever-looking code refactoring and is used as a reaction to simplifying unnecessarily complicated programming logic.
yellow mouse-like creature / жёлтое мышеподобное существоred cheek circles / красные круги на щекахpointed ears / заострённые ушиbrown tail / коричневый хвостsunglasses / солнцезащитные очкиblue background / синий фонcode snippet / фрагмент кодаif-else statement / условие if-elseternary operator / тернарный операторwhite panel / белая панельsmiling face / улыбающееся лицо
- @rzeczyzabawne / 1904 2022-09-18
- Template
- Cool Pikachu
- Type
- image
- Size
- 680×673 · 42.1 KiB
- Mood
- смешной, самодовольный
- Language
- en
- Added