|
所在平台: Udemy |
课程主页: https://www.udemy.com/course/advanced-oop-with-python/
课程评论:没有评论
Coursera Python 高级面向对象编程(OOP)课程总结 **课程名称:** Advanced OOP with Python. Beyond the basics. **课程概述:** 本课程旨在深入教授 Python 中面向对象设计的进阶知识,巩固和深化您对类、对象、继承和多态的理解。您将学习 Python 特有的类和对象实现细节,包括构造、方法重写和运算符重载。通过大量的练习,您将掌握常见的 OOP 任务。 **目标受众:** * 已经掌握 Python OOP 基础,希望深入了解 Python OOP 机制的 Python 开发者。 * 拥有其他面向对象编程语言经验,希望学习如何在 Python 中运用 OOP 的开发者。 * 自学 OOP,希望通过学习最佳实践来提升技能的 OOP 开发者。 **挑战与目标:** 许多学员了解 OOP 的基本概念,但对 Python 独特的语言特性知之甚少,这可能导致代码冗长或效率低下。本课程将教授使用 Python 进行 OOP 的最新、最推荐的方式,使您的代码结构化且易于维护。 **课程收益:** * 做出更明智的决策,了解何时以及如何将 OOP 特性应用于代码。 * 通过整合 Python 内置语言特性来创建更高效的类。 * 拥抱 Python 的动态特性,并使用结构化类型检查。 **主要学习主题:** * **类与对象:** 类实例化、`self`、数据属性、UML、方法、`__str__`、`__repr__`、构造函数。 * **继承:** 继承、扩展和重写方法、通过 `super` 访问基类、抽象基类。 * **动态语言中的 OOP:** 动态类型、静态类型检查、运算符重载。 * **多态:** 开闭原则、类型相等、接口和协议。 * **封装:** 属性可见性、名称改写(name mangling)、属性(properties)。 * **Python 中的类:** 类即对象、类变量、类方法和静态方法。 **课程时长:** 2 小时视频内容,包含练习共约 3 小时。 **授课教师:** Loek van den Ouweland,拥有 25 年专业经验的资深软件工程师,曾是 Wunderlist for Windows、Microsoft To-do 和 Mahjong for Windows 的创建者。
This course teaches Object Oriented Design in Python beyond intermediate level. The course solidifies and deepens your knowledge about classes, objects, inheritance and polymorphism. You will learn many Python specific class and object implementation details of construction, overriding and overloading. Work through many exercises that allows you to practice common OOP tasks.Target audienceDevelopers who especially benefit from this course, are:Python developers who learned the basics of OOP and want a deeper dive into the mechanics of OOP in Pythondevelopers who bring experience from another OO programming language and want to learn how to use OOP in Pythonself-taught OOP developers who want to improve their skills by learning best practicesChallengesStudents that are interested in this course often know basic OOP features but are not yet aware of Python's unique language features that allows them to work object oriented in a Pythonic way. This can lead to verbose or inefficient code. It is my goal to teach you up-to-date, preferred ways to work with OOP in Python and make your code structured and maintainable.What can you do after this course?make better decisions when and how to use OOP features in your codecreate more efficient classes by integrating Python's built-in language featuresembrace the dynamic character of Python by using structural type checkingTopicsClasses and Objects: Class instantiation, self, data attributes, UML, methods, __str__, __repr__, constructorInheritance: Inherit, extend and override methods, access to base class via super, abstract base classOOP in a dynamic language: Dynamically typing, Static type checking, overloadingPolymorphism: Open-closed principle, type equality, interfaces and protocolsEncapsulation: Attribute visibility. name mangling, propertiesClasses in Python: Class as object, class variables, class and static methodsDuration2 hours video time, 3 hours including practicing exercises.The teacherThis course is taught by Loek van den Ouweland, a senior software engineer with 25 years of professional experience. Loek is the creator of Wunderlist for windows, Microsoft To-do and Mahjong for Windows and loves to teach software engineering.