Refactoring Breaks Cloudinit Types
commit 35ba716bb8230c3146777f20cce90dc05778af4a3 Author: Date: Thu Nov 3 14:23:42 2016 +0300 refactoring arch=arch, cloudinit=cloudinit cloudinit=True if cloudinit == 'True' else False ).create()
A programming screenshot shows a Git commit labeled “refactoring” cutting away code, leaving a suspicious type conversion in the cloud-init configuration. The joke is that a seemingly harmless refactor changes the meaning of a value from the string 'True' to the boolean True, a relatable reaction to fragile code changes.
terminal window / окно терминалаGit commit header / заголовок коммита Gitscissors icon / значок ножницdotted cut line / пунктирная линия разрезаsource code / исходный кодcode editor text / текст редактора кодаcloud-init configuration / конфигурация cloud-initarch parameter / параметр archboolean value / логическое значениеdate and time / дата и времяdark background / тёмный фонmonospace font / моноширинный шрифт
- @profunctor_io / 7471 2021-11-26
- Type
- image
- Size
- 800×451 · 45.2 KiB
- Mood
- саркастичный
- Language
- en
- Added