|
所在平台: Udemy |
课程主页: https://www.udemy.com/course/creational_cpp/
课程评论:没有评论
课程名称:现代C++中的创建设计模式 课程概述:设计模式是解决常见面向对象设计问题的一种方法。然而,理解和学习设计模式是困难且耗时的。观察一个模式就像在没有问题的情况下看解决方案,除非你在过去遭遇过该问题。本课程旨在帮助你理解和实现创建设计模式。每种模式都通过多个示例和现代C++进行解释。这有助于你理解如何使用语言特性高效地实现该模式。示例没有涉及汽车、比萨、鸭子、咖啡等,这些主题在构建真实世界软件时很少使用。相反,我们提供了用现代C++编写的真实世界示例,这些示例可以在任何支持C++编译器的平台上编译和执行。 课程将通过以下方式教授创建设计模式: 1. 通过UML类图解释模式的意图和结构。 2. 解释模式的基本实现细节。 3. 在一个简单示例中实现该模式,并让你熟悉整体实现。 4. 引入另一个存在设计问题的示例,探讨该模式旨在解决的问题。 5. 分析问题,逐步应用设计模式重构代码。 6. 解释替代场景和示例以及它们之间的差异,帮助你学会在不同选项之间做出决策。 7. 讨论模式在C++中的应用,并如何针对性能、可重用性和最大灵活性进行调整。 8. 最后,你将学习使用该模式的时机及其优缺点。这是一个跨多讲次的深入讨论,课程结束时,你将深入理解该模式,并能够在代码中应用它,也能够轻松通过任何设计面试。 该课程是一个全面的学习体验,适合希望提升设计模式能力的开发者。
Design Patterns are a way to solve common object oriented design problems. But understanding and learning design patterns is hard and takes time. Looking at a pattern is like looking at a solution without a problem, unless you've encountered the problem in the past.This course aims to help you understand & implement Creational Design Patterns. Each pattern is explained with multiple examples and through modern C++. This helps you understand how the pattern can be implemented efficiently using language features. The examples do not involve cars, pizzas, ducks, coffee, etc. These topics are rarely used while building real-world software. Instead I provide real-world examples written in Modern C++. These examples will compile & execute on any platform that supports a C++ compiler.This is how the course teaches creational patterns.The intent, structure of the pattern is explained through UML class diagram.Basic implementation details of the pattern are explained.The pattern is implemented in a simple example.You get familiar with the overall implementation of the pattern.Another example is introduced that has design issues the pattern aims to resolve.We examine the issues and refactor the code by applying the design pattern step by step.Alternative scenarios & examples are explained along with differences between them. You also learn how to decide between different alternatives.I discuss the pattern in context of C++ and how to tweak it for performance, reusability & maximum flexibility.Finally, you'll learn when to use the pattern and its pros & cons.This is an intensive discussion that spans multiple lectures. At the end of each section, you'll understand the pattern in depth and can apply it in your code or easily clear any design interview.