Winnie the Pooh Code Progression
if (obj->enabled) { ... var canHandle = obj.Enabled; if (canHandle) { ... bool objIsDisabled = !obj.isEnabled(); if (!objIsDisabled) { ... var isNotDisabled = IsObjectNotDisabled(!obj.IsEnabled) var canHandle = obj.isEnabled if isNotDisabled && canHandle { ... bool noAction; if (obj.hasEnabledProperty() && !obj.isEnabled()) { noAction = true; } if (obj.hasDisabledProperty() && obj.isDisabled()) { noAction = true; } if (!noAction) { ... if (!obj.shouldBeNotHandled() || !obj.shouldNotBeHandled() ) { ...
A six-panel progression shows Winnie the Pooh becoming increasingly sophisticated while writing more complicated code to check whether an object is enabled or disabled. The joke is that a simple condition spirals into absurd overengineering, ending with a muscular version of Pooh and a ridiculously convoluted boolean expression. EN: A six-panel progression shows Winnie the Pooh becoming increasingly sophisticated while writing more complicated code to check whether an object is enabled or disabled. The joke is that a simple condition spirals into absurd overengineering, ending with a muscular version of Pooh and a ridiculously convoluted boolean expression.
Winnie the Pooh / Винни-Пухyellow bear / жёлтый медведьred shirt / красная футболкаblack suit / чёрный костюмwhite shirt / белая рубашкаred robe / красный халатwooden chair / деревянный стулcomputer code / компьютерный кодtext panels / текстовые панелиmuscular bear / мускулистый медведьboolean expression / булево выражение
- @profunctor_io / 5506 2020-09-30
- Template
- Winnie the Pooh progression
- Type
- image
- Size
- 432×800 · 69.3 KiB
- Mood
- absurd, sarcastic
- Language
- en
- Added