Design Patterns in Modern C++

所在平台: Udemy

课程主页: https://www.udemy.com/course/patterns-cplusplus/

课程评论:没有评论

第一个写评论        关注课程

课程简介

课程名称:现代C++中的设计模式 课程概述:本课程提供了对现代C++设计模式的全面实用视角的概述。课程将重点介绍以下内容: - 使用最新版本的C++编程语言 - 现代编程方法的应用,如依赖注入、协程等 - 现代开发工具的使用,如CLion和ReSharper C++ - 对模式变体和替代方法的讨论 本课程全面覆盖了四人帮(GoF)设计模式,借鉴了他们经典著作中的内容,并结合现代的变体和语言内在的模式应用进行讨论。 什么是设计模式?设计模式是针对常见编程问题的可重用解决方案。它们的概念在1994年由Erich Gamma、John Vlissides、Ralph Johnson和Richard Helm所著的《设计模式:可复用面向对象软件的元素》中被广泛传播(他们被称为四人帮)。原书中使用C++和Smalltalk作为示例,但此后设计模式已被应用到几乎所有编程语言,如Swift、C#、Java、PHP,以及一些并非严格面向对象的编程语言,如JavaScript。设计模式的魅力不减:我们在各种库中都能看到它们,其中一些在编程语言中是固有的,即使你没有意识到它们的存在,你也可能每天都在使用它们。 本课程涵盖的设计模式包括: - SOLID设计原则:单一职责原则、开闭原则、里氏替换原则、接口隔离原则和依赖倒置原则 - 创建型设计模式:构建者模式、工厂模式(工厂方法和抽象工厂)、原型模式和单例模式 - 结构型设计模式:适配器模式、桥接模式、组合模式、装饰模式、外观模式、享元模式和代理模式 - 行为型设计模式:责任链模式、命令模式、解释器模式、迭代器模式、 Mediator模式、备忘录模式、空对象模式、观察者模式、状态模式、策略模式、模板方法模式和访客模式 谁适合参加本课程?本课程面向希望看到现代化实现设计模式的C++开发者,不仅限于教科书中的例子,还有不同的变体和技巧。 课程呈现风格:本课程以一系列在JetBrains CLion中进行的实时演示为主。大多数演示为单文件,你可以下载附属文件并在CLion、XCode或其他IDE(或仅在命令行)中运行。该课程不使用UML类图,所有演示均为实时编码。

课程评论(0条)

课程详情

Course Overview This course provides a comprehensive overview of Design Patterns in Modern C++ from a practical perspective. This course in particular covers patterns with the use of: The latest versions of the C++ programming languageUse of modern programming approaches: dependency injection, use of coroutines, and more!Use of modern developer tools such as CLion and ReSharper C++Discussions of pattern variations and alternative approaches This course provides an overview of all the Gang of Four (GoF) design patterns as outlined in their seminal book, together with modern-day variations, adjustments, discussions of intrinsic use of patterns in the language. What are Design Patterns? Design Patterns are reusable solutions to common programming problems. They were popularized with the 1994 book Design Patterns: Elements of Reusable Object-Oriented Software by Erich Gamma, John Vlissides, Ralph Johnson and Richard Helm (who are commonly known as a Gang of Four, hence the GoF acronym). The original book was written using C++ and Smalltalk as examples, but since then, design patterns have been adapted to every programming language imaginable: Swift, C#, Java, PHP and even programming languages that aren't strictly object-oriented, such as JavaScript. The appeal of design patterns is immortal: we see them in libraries, some of them are intrinsic in programming languages, and you probably use them on a daily basis even if you don't realize they are there. What Patterns Does This Course Cover? This course covers all the GoF design patterns. In fact, here's the full list of what is covered: SOLID Design Principles: Single Responsibility Principle, Open-Closed Principle, Liskov Substitution Principle, Interface Segregation Principle and Dependency Inversion PrincipleCreational Design Patterns: Builder, Factories (Factory Method and Abstract Factory), Prototype and SingletonStructrural Design Patterns: Adapter, Bridge, Composite, Decorator, Façade, Flyweight and ProxyBehavioral Design Patterns: Chain of Responsibility, Command, Interpreter, Iterator, Mediator, Memento, Null Object, Observer, State, Strategy, Template Method and Visitor Who Is the Course For? This course is for C++ developers who want to see not just textbook examples of design patterns, but also the different variations and tricks that can be applied to implement design patterns in a modern way. Presentation Style This course is presented as a (very large) series of live demonstrations being done in JetBrains CLion. Most demos are single-file, so you can download the file attached to the lesson and run it in CLion, XCode or another IDE of your choice (or just on the command line). This course does not use UML class diagrams; all of demos are live coding.

课程标签

0人关注该课程

主题相关的课程