Winnie the Pooh Refactors Code
if (condition) { return A; } else { return B; } return condition ? A : B;
The meme shows Winnie the Pooh looking unimpressed beside a verbose if-else statement, followed by a refined version using a ternary operator while Pooh wears a tuxedo. The joke compares clumsy beginner code with concise, elegant programming, so it is used when someone finds a smarter or more sophisticated solution. EN: The meme shows Winnie the Pooh looking unimpressed beside a verbose if-else statement, followed by a refined version using a ternary operator while Pooh wears a tuxedo. The joke compares clumsy beginner code with concise, elegant programming, so it is used when someone finds a smarter or more sophisticated solution.
Winnie the Pooh / Винни-Пухblue background / синий фонred shirt / красная рубашкаblack tuxedo / чёрный смокингwhite shirt / белая рубашкаbow tie / галстук-бабочкаprogramming code / программный кодif-else statement / условие if-elseternary operator / тернарный операторsplit panel / разделённая панельcomputer syntax / синтаксис кода
- @ithueti / 758 2019-03-30
- Template
- Winnie the Pooh Elegant
- Type
- image
- Size
- 604×439 · 26.9 KiB
- Mood
- sarcastic, sophisticated
- Language
- en
- Added