YAGNI might lead to PrematureOptimization: Yagn those two bytes, so lets celebrate; we saved space
The short answer by RonJeffries:
No, it can't do that. A rule which prohibits work can't be used to justify optimization.
Whow! Quite a bold assertion! Even given the FirstRuleOfOptimization? --MarcGirod
YouAintGonnaNeedIt only applies to functionality, not to memory consumption. YouAintGonnaNeedToOptimize...
Factored away from YouArentGonnaNeedItAndYtwok