1 basecamp
project management: message, to-do ,milestone(schedule),whiteboard
2 campfire
chat-room & file exchange
Rule of Modularity: Write simple parts connected by clean interfaces.As Brian Kernighan once observed, “Controlling complexity
is the essence of computer programming” [Kernighan-Plauger]. Debugging dominates
development time, and getting a working system out the door is
usually less a ...
从追MM谈Java的23种设计模式
??1、FACTORY—追MM少不了请吃饭了,麦当劳的鸡翅和肯德基的鸡翅都是MM爱吃的东西,虽然口味有所不同,但不管你带MM去麦当劳或肯德基,只管向服务员说“来四个鸡翅”就行了。麦当劳和肯德基就是生产鸡翅的Factory.
??
?? 工厂模式:客户类和工厂类分开。消费者任何时候需要某种产品,只需向工厂请求即可。消费者无须修改就可以接纳新产品。缺点是当产品修改时,工厂类也要做相应的修改。如:如何创建及如何向客户端提供。
??
程序代码
?? public class Factory{
...







评论排行榜