工作交流中偶尔需要向他人解释敏捷开发的一些关键概念,如果要在几分钟内把自己的理解讲清楚,做到言简意赅,
我觉得有两个技巧:一个是打比方;一个是解释关键字。下面是几个典型的,便于初入行者记忆。
1、INVEST
有关User Story的话题:
Independent, Negotiable, Valuable, Estimable, Small, Testable。
独立的、可沟通的、有价值的、可估计的、短小的、可测试的。
2、SOLID
有关设计原则:
Single Resposibility Principle(SRP,单一职责原则);
Open/Close Principle(OCP,开闭原则);
Liskov Substitution Principle(LSP,里氏替换原则);
Interface Segregation Principle(ISP,接口隔离原则);
Dependency Inversion Principle(DIP,依赖导致原则)。
3、DRY
避免重复:
Don't Repeat Yourself.
4、KISS
Unix设计哲学:
Keep It Simple,Stupid.
5、Tell, Don't Ask
Procedural code gets information then makes decisions. Object-oriented code tells objects to do
things.
— Alec Sharp
That is, you should endeavor to tell objects what you want them to do; do not ask them questions about
their state, make a decision, and then tell them what to do.