Recently in Software Engineering Category

You Ain't Gonna Need It

| No Comments | No TrackBacks
      今天看了Daniel Lemire关于software design的一篇文章Cool software design insight #1。其中的建议其实就是software engineering中的一条准则:You Ain't Gonna Need It (YAGNI)。他建议software engineer不要轻易在程序中加入新的功能,直到真正需要它的时候。
      我有两点感触:1. 一开始不加入新的功能并不代表要忽视程序的可扩展性,如果将来真的到了需要加入新功能,但是牵一发却动全身,那么大量的时间将会被浪费在改造程序,并且很 有可能会给旧功能引入新的bug。2. 一定要保留旧功能的testing case,这样可以减少加入新功能后测试旧功能所需要的时间。

Recent Comments

  • heefan: I am interested in iPhone programming. How is your project? read more
  • 非主流: 很复杂,看不懂。 read more
  • 偶爱偶家: gmail 怕你得老年痴呆, 贴心的服务啊(开个玩笑的) read more
  • YIMO: 这是什么?看起来是…… read more
  • 北极冰仔: 大款,都用上 iPhone 了啊。 read more
  • Jiang: To cosbeta, 我已经把材料都交上去了,但是现在帐号还是limited。给别人send过去的前也冻结着,显示着在被调查。 read more
  • cosbeta: 可能是IP的问题哦,一直在国外,突然来个国内的IP。 我用dreamhost翻墙登录paypal就被冻结过,不过激活还是很简单的说 read more
  • Jiang: to 北极, 什么意思? read more
  • Jiang: 我想应该是。不光是gmail,回国用了下paypal立即就给我封了,真是郁闷 read more
  • 北极冰仔: 这篇日志为什么会出现下篇日志的内容咧? read more

About this Archive

This page is an archive of recent entries in the Software Engineering category.

Sharing is the previous category.

Thinking is the next category.

Find recent content on the main index or look in the archives to find all content.