Don’t?Shave?Yaks,别给耗牛剪毛_kiteseas_新浪博客

Don’t Shave Yaks,别给耗牛剪毛

 

Don’t Shave Yaks

Finally, don’t allow your automation side project to turn into yak shaving. Yak shaving is part of the official jargon file for computer science. It describes this scenario:

  1. You want to generate documentation based on your Subversion logs.

  2. You try to add a Subversion hook only to discover that the Subversion library you have is incompatible and therefore won’t work with your web server.

  3. You start to update your web server, but realize that the version you need isn’t supported by the patch level of your operating system, so you start to update your operating system.

  4. The operating system upgrade has a known issue with the disk array the machine uses for backups.

  5. You download an experimental patch for the disk array that should get it to work with your operating system, which works but causes a problem with the video driver.

At some point, you stop and try to remember what got you started down this road. You come to the realization that you are shaving a yak, and you stop to try to figure out what shaving a yak has to do with generating documentation for Subversion logs.

Yak shaving is dangerous because it eats up a lot of time. It also explains why estimating tasks is so often wrong: just how long does it take to fully shave a yakAlways keep in mind what you are trying to achieve, and pull the plug if it starts to spiral out of control.

                                                       From Neal Ford “The Productive Programmer”


最后, 别让自动化的努力变成剪牦牛毛(yak shaving)——这是一句在计算机科学界源远流长的行话,它代表了诸如此类的情况:

  1. 你打算根据Subversion日志自动生成一些文档。
  2. 你尝试给Subversion加上一个钩子,然后发现当前使用的Subversion版本与你的Web服务器不兼容。
  3. 你开始更新Web服务器的版本,然后又发现这个新版本在操作系统当前的这个补丁级别上不被支持,于是你开始更新操作系统。
  4. 操作系统的更新包存在一个已知的问题,与用于备份的磁盘阵列不兼容。
  5. 你下载了尚未正式发布的针对磁盘阵列的操作系统补丁,它应该能用。它确实能用,但又导致显卡驱动出问题了。

终于在某个时候,你停下来回想自己一开始到底是想干什么。然后你发现自己正给牦牛剪毛,这时你就应该停下来想想:这一大堆牛毛跟“从Subversion日志生成文档”到底有什么关系呢/span>

剪牦牛毛是件危险的事,因为它会吃掉你大把的时间。…始终牢记你到底要做什么,如果情况开始失控就及时抽身而出。

From WizNote

转载于:https://www.cnblogs.com/mang/archive/2013/04/04/2999114.html

相关资源:基于java的GUI图形化界面的汽车油耗软件-Java代码类资源-CSDN文库

来源:weixin_30799995

声明:本站部分文章及图片转载于互联网,内容版权归原作者所有,如本站任何资料有侵权请您尽早请联系jinwei@zod.com.cn进行处理,非常感谢!

上一篇 2013年3月3日
下一篇 2013年3月3日

相关推荐