Sognopolis - 简单带来重用,复杂带来重复

博客园 首页 新随笔 联系 订阅 管理
  20 Posts :: 2 Stories :: 13 Comments :: 0 Trackbacks

2007年7月30日 #

http://news.csdn.net/n/20080123/113019.html

如同所有成功者都会说的话,坚持到底才是最重要。但是简立峰解释能够成功的「坚持」,不是那种固执己见、消耗体力、毅力的坚持方式,也不是一味认定媳妇终会熬成婆的苦苦坚持,而是「期待自己好还要更好,不断突破的坚持态度。」
posted @ 2008-03-26 14:07 omnislash 阅读(7) | 评论 (0)编辑

项目管理艺术(The Art of Project Management)P122

I've argued with other managers on this very point. They couldn't imagine not allowing their team to code at full speed all the time, regardless of whether the programmers understood the direction the project was going. If the programmers were idle, then the project must be idle, right? Wrong. There is hypocrisy here: if the programmer's time is so valuable, the use of it should be well planned. "What will the programmers do?", they'd ask me. And I'd say, "They will wait for a plan worthy of their time, or help the team to find it."

我曾和其他经理人就这点争论过。他们无法想象,不让团队随时全力撰写程序代码的情况,无论程序员究竟是否了解项目的前进方向。如果程序员空闲,项目就必然闲置,对吗?错。这里有个伪善的说法:如果程序员的时间如此宝贵,在使用上就应充分被计划。他们问我:“那程序员要做什么?”而我说:“他们要等待值得他们付出时间的计划,或者协助团队找出来。”

posted @ 2008-03-25 13:54 omnislash 阅读(21) | 评论 (0)编辑

     摘要: NUnit小技巧一则  阅读全文
posted @ 2007-11-19 21:46 omnislash 阅读(77) | 评论 (0)编辑

以前总是先构造领域对象,今天发现,还是从界面构造起开始比较好,符合top-down模式,比较不会迷失方向。
posted @ 2007-08-21 18:07 omnislash 阅读(18) | 评论 (0)编辑

     摘要: 周五的时候在写一个小程序,它的输入是电话号码,输出是该号码的区号。区号表用Access数据库存储。解析算法的最初思路是:把整张区号表做成一个状态机,电话号码逐字符输入。这样效率应该比较高,但是要手工构造那个状态机就有点麻烦。“先让程序跑起来,然后让它快起来”——稍微简化一下,先用号码的头三位(为什么用前三位?那是因为国内区号最短就是三位)做模糊查询,过滤掉明显不匹配的区号,... 阅读全文
posted @ 2007-07-30 00:07 omnislash 阅读(167) | 评论 (0)编辑