摘要: 大家对写代码的感受 阅读全文
posted @ 2007-07-26 09:52 许晓光 阅读(219) 评论(0) 推荐(0) 编辑
摘要: 保证一个类仅有一个实例,并提供一个该实例的全局访问点。——《设计模式》GoF ensure that a class has only one intstance Singleton模式中的实例构造器可以设置为protected以允 许子类派生。 • Singleton模式一般不要支持ICloneable接口,因为这可能 会导致多个对象实例,与Singleton模式的初衷违背。 •... 阅读全文
posted @ 2007-07-25 18:27 许晓光 阅读(202) 评论(0) 推荐(0) 编辑
摘要: Define an interface for creating an object, but let subclass decide which class to instantiate. Factory mothed lets class defer instantiation to subclass. Factory Method模式的几个要点 • Factory Method模式主... 阅读全文
posted @ 2007-07-25 16:46 许晓光 阅读(207) 评论(0) 推荐(0) 编辑
摘要: 正在读,比尔·盖茨推荐的好书!这是一本所有决策者、企业员工都必须读的一本书。 阅读全文
posted @ 2007-07-25 11:23 许晓光 阅读(240) 评论(1) 推荐(0) 编辑
摘要: 绩效管理主要有以下几个目的:1.决定涨薪的幅度;2. 决定员工的培训;3.决定员工的离职;4.考察员工的表现决定晋升;5.提高团队的整体能力。 阅读全文
posted @ 2007-07-25 11:03 许晓光 阅读(588) 评论(4) 推荐(0) 编辑
摘要: 提供一个接口,让该接口负责创建一系列“相关或者 相互依赖的对象”,无需指定它们具体的类。——《设计模式》GoF Provide an interface for creating families of related or dependent objects without specifying their concrete classes. 常规的对象创建方法: // 创建一个Road ... 阅读全文
posted @ 2007-07-25 09:45 许晓光 阅读(265) 评论(0) 推荐(0) 编辑
摘要: 微软的MSDN2包含许多Smart Client的中文资料,有兴趣的朋友可以看看!新版MSDM智能客户端开发中心首页http://msdn2.microsoft.com/zh-cn/smartclient/default.aspx智能客户端定义http://msdn2.microsoft.com/zh-cn/smartclient/bb313755.aspx 阅读全文
posted @ 2007-07-24 13:24 许晓光 阅读(768) 评论(0) 推荐(0) 编辑
摘要: 这是关于在C#中如何使用TDD和XP的文章:主要内容: 1.测试驱动开发的基本概念 2.测试驱动开发和极限编成的优点 3.NUnit的使用 4.和传统开发方法的比较大家可以到下面的网址下载NUnit http://www.nunit.org 来自MSDN Maga... 阅读全文
posted @ 2007-07-23 14:38 许晓光 阅读(399) 评论(0) 推荐(0) 编辑
摘要: Are you a hedgehog or a fox? 阅读全文
posted @ 2007-07-23 12:33 许晓光 阅读(123) 评论(0) 推荐(0) 编辑
摘要: Earning money! 阅读全文
posted @ 2007-07-22 11:26 许晓光 阅读(130) 评论(0) 推荐(0) 编辑