课程: Python: Design Patterns (2021)
今天就学习课程吧!
今天就开通帐号,24,700 门业界名师课程任您挑!
Programmers' mindset
- [Instructor] Using design patterns also promotes the other ideal qualities of software, such as completeness and correctness. Completeness refers to how much a software solution meets its requirements. Since design patterns are community driven and validated according to the desired requirements, you can safely assume they need the baseline requirements. However, one thing to notice that design patterns are intentionally under defined to allow potential customization and extension efforts. Correctness is another essential quality of well-developed software. If the software produces incorrect results, although it does most of what it's expected to do, it's still problematic since the error can lead to catastrophic consequences, such as loss of human lives. The correctness quality is especially vital in mission-critical systems, such as power plants and water treatment facilities. Coupling and cohesion are also what design…