3 ms·
Lost me when he said that saying something more than once is lying. DRY is a great principle, but not following it is not the same as lying.
by wccrawford 16y ago
Lost me when he said that saying something more than once is lying.
DRY is a great principle, but not following it is not the same as lying.
- duck 16y agoFor another example of truth in coding, consider namespace pollution. An unnecessary global variable is not just an invitation to bugs; if it’s overexposed, it’s lying. Its scope should be reduced to match its importance. I think he is saying that you can't trust a global variable as it could be not what you think it is (and thus lying) because of it's scope.
- shawndumas 16y agoIf lying requires intentionality then yes you are correct.