写代码的时候要给维护留条后路,你可能永远不会想到或许有一天一个维护你代码的暴力偏执狂提着斧头找上你家门。不是开玩笑的!我这会正在磨斧头。
Always code as if the guy who ends up maintaining your code will be a violent psychopath who knows where you live.
--John Woods comp.lang.c++
写代码的时候要给维护留条后路,你可能永远不会想到或许有一天一个维护你代码的暴力偏执狂提着斧头找上你家门。不是开玩笑的!我这会正在磨斧头。
Always code as if the guy who ends up maintaining your code will be a violent psychopath who knows where you live.
--John Woods comp.lang.c++