4 ms·
What's the fence story?
by atdt 9y ago
What's the fence story?
- habitue 9y agoChesterton's Fence: https://en.wikipedia.org/wiki/Wikipedia%3AChesterton%27s_fence https://en.wikipedia.org/wiki/Wikipedia%3AChesterton%27s_fen...
- atdt 9y agoThanks!
- arkh 9y agoThat's why you document why you do things some way and not how. So when the why changes or disappear you can change things. Same problem with rules. Document why they exist. Simple coding example: the one exit rule. It exists to make easier the resource management in a function. So it is useful in languages for which the coder has to manage resources. For a scripting language or one where resources are managed by the language? No. So there you can enjoy early returns.