Your System Is Legacy; Design for It
来源:互联网 发布:java通讯框架 编辑:程序博客网 时间:2024/05/21 10:47

Your System Is Legacy; Design for It
Dave Anderson
EvEn iF youR SySTEM iS BlEEding EdgE and developed in the latest tech- nology, it will be legacy to the next guy. Deal with it! The nature of software today means things go out of date fast. If you expect your system to go into production and survive, even for a few months, then you need to accept that maintenance developers will need to fix things up. This means several things:
• Clarity: It should be obvious what role components and classes perform.
• Testability: Is your system easy to verify?
• Correctness: Do things work as designed or as they should? Eliminate quick and nasty fixes.
• Traceability: Can Ernie the Emergency Bug Fixer—who has never seen the code before—jump into production, diagnose a fault, and put in a fix? Or does he need an eight-week handover?
Try to think of a different team opening up the codebase and working out what’s happening. This is fundamental for great architecture. It doesn’t have to be oversimplified or documented to the hilt; a good design will document itself in many ways. The way a system behaves in production can also expose the design. For example, a sprawling architecture with ugly dependencies will often behave like a caged animal in production. Spare a thought for (usually more junior) developers who may have to debug defects.

Legacy tends to be a bad word in software circles, but in reality, all software systems should endure the tag. It is not a bad thing, as it may indicate that your system is durable, meets expectations, and has business value. Any software system that has never been called legacy has probably been canned before launch—which is not the sign of a successful architecture.
Dave Anderson is a principal software engineer at Belfast software company Liberty IT, which supplies IT solutions for Fortune 100 company Liberty Mutual. Dave has more than 10 years’ experience in the software industry with many leading-edge IT companies across several different industries and countries.
- Your System Is Legacy; Design for It
- “API design is like sex: Make one mistake and support it for the rest of your life.”
- 1.7 How to choose a CPU for Your System on Chip Design
- Error: Your project contains C++ files but it is not using a supported native build system
- Error: Your project contains C++ files but it is not using a supported native build system
- Error: Your project contains C++ files but it is not using a supported native build system
- Error: Your project contains C++ files but it is not using a supported native build system
- Your project contains C++ files but it is not using a supported native build system.
- Error: Your project contains C++ files but it is not using a supported native build system
- Error: Your project contains C++ files but it is not using a supported native build system
- Error: Your project contains C++ files but it is not using a supported native build system.
- Error: Your project contains C++ files but it is not using a supported native build system
- Error: Your project contains C++ files but it is not using a supported native build system
- Your project contains C++ files but it is not using a supported native build system
- 解决Your project contains C++ files but it is not using a supported native build system
- Error: Your project contains C++ files but it is not using a supported native build system.
- Your account already has a signing certificate for this machine but it is not present in your keycha
- StraceNT - A System Call Tracer for Windows StraceNT is a System Call Tracer for Windows. It provi
- MAYA和3DMAX,应该选择哪个呢?
- linux之Segment Fault错误分析[2]
- Spark学习资源(不断更新)
- Android App监听软键盘按键的三种方式
- The type javax.servlet.ServletContext cannot be resolved.
- Your System Is Legacy; Design for It
- Python操作数据库
- Android开发性能优化之SparseArray和HashMap
- 解决安装XAMPP后apache一直运行不成功
- If There Is Only One Solution, Get a Second Opinion
- 转身,遇到秋
- leetcode 125 Valid Palindrome(难易度:Easy)
- 安卓常用开发命令
- txt文件转换成pdf格式的方法