|
所在平台: Udemy |
课程主页: https://www.udemy.com/course/learn-object-oriented-programming-with-python/
课程评论:没有评论
**课程名称:** Python 入门面向对象编程 (OOP) **课程概述:** 本课程专为希望通过更好的代码组织来避免“意大利面条式代码”的初学者 Python 程序员而设计。如果您曾遇到难以理解的非结构化代码,或者希望将其他编程语言中的 OOP 经验应用于 Python,那么本课程将是您的理想之选。课程将引导您从一个简单的、未经优化的代码入手,逐步重构为一个结构良好、面向对象的 Python 设计。每个阶段都会引入新的挑战,通过 UML 可视化和沟通设计的变化,并运用 OOP 工具箱中的各种技术解决问题。 **目标受众:** * 希望通过 OOP 更好地组织代码的初学者 Python 开发者。 * 拥有其他编程语言经验,希望学习如何在 Python 中应用 OOP 的开发者。 * 在工作中需要处理他人遗留的、缺乏结构的“意大利面条式代码”的开发者,需要为其带来结构。 **课程亮点:** 许多 OOP 教程可能充斥着技术术语,并且过于关注如何实现 OOP 特性,而忽略了“为什么”。本课程与众不同,它从零开始,介绍 OOP 所能解决的常见挑战,让您从根本上理解 OOP 的价值,并在此基础上学习“如何”去实现。通过循序渐进的学习,避免有效代码编写不当甚至放弃 OOP 的想法。 **学习成果:** * 提升代码组织能力,使未来的代码修改不再痛苦。 * 掌握 UML,能够在编写代码前可视化和与同事沟通类设计。 * 将代码组织成小巧、可预测且易于测试的单元。 **课程主题:** * **OOP 导论:** 理解 OOP 解决的问题。 * **类与对象:** 创建类、类初始化器以及实例化对象。 * **UML:** 使用统一建模语言可视化和沟通类图。 * **继承:** 通过创建子类避免代码重复。 * **封装:** 防止对类信息的非预期访问。 * **依赖注入:** 通过注入依赖来解耦代码。 * **多态:** 使代码能够在最小系统改动下进行扩展。 * **组合:** 通过使用组合来避免子类爆炸。 * **单元测试:** 编写单元测试以验证代码的正确性。 **课程时长:** * 视频时长:2.5 小时 * 含练习时间:5 小时 **讲师:** Loek van den Ouweland,一位拥有 25 年丰富经验的资深软件工程师,曾创建 Wunderlist for Windows、Microsoft To-do 和 Mahjong for Windows,热衷于教授软件工程。 **学生评价:** * “对 OOP 基础进行了出色的、简洁明了的讲解。太棒了!” * “这正是我一直在寻找的 Python OOP 课程。许多课程教授 OOP 语法,但很少能帮助你理解‘为什么’,然后才是‘如何’。这门课程做到了,而且是通过现实场景,使其更贴近工作需求。强烈推荐!” * “我曾认为 OOP 非常困难,但通过这门课程,我发现 OOP 能让代码更具可读性和健壮性。我相信这门课程会帮助那些在编写简洁普通代码方面遇到困难的人。”
Are you a beginning Python programmer who wants to prevent spaghetti code by organizing code better? Do you often have to work with unstructured code that is hard to understand?Or are you a developer that brings experience from other programming languages and want to learn how to use OOP in Python?Then this course is for you!The 'Object Oriented Programming with Python' course guides you through an exercise, starting with a small, naive approach that gradually is turned into a well structured Object Oriented Design. Each step of the journey introduces new challenges, communicates intended changes with UML and uses tools from the OOP toolkit to solve problems.Target audienceDevelopers who especially benefit from this course, are:Beginner Python developers who want to organise their code better by using OOPDevelopers that bring experience from another programming language who want to learn using OOP with PythonDevelopers that inherit spaghetti code from others at work and need bring structure to itChallengesYou have heard that object oriented programming can help you to structure your code. But many tutorials overwhelm you with technical blah blah and seem to focus too much on how to implement OOP features. But if you do not understand why to do things, you will use OOP without without using its full potential.This can lead to writing ineffective code or worse: give up on the idea of OOP.This course is different! It starts with the absolute beginning and introduces common challenges that are solved by using Object Oriented Programming. This way, you will learn OOP from the ground up, step by step.What can you do after this course?You will organize your code better so changes in the future do not cause nightmares anymoreYou can visualize and communicate your code to your colleagues with UML, before writing a single line of codeYour code will be organized in small, predictable and testable unitsTopicsIntroduction OOP: Understanding the problems that are solved with OOPClasses and objects: Create classes, the class initializer, and instantiate objectsUML: Visualize and communicate the class diagrams with the Unified Modeling LanguageInheritance: Prevent duplicate code by creating subclassesEncapsulation: Prevent access to class informationDependency injection: Decouple your code by injecting dependenciesPolymorphism: Allow your code to be extended with minimal changes to the systemComposition: Prevent an explosion of subclasses by using compositionUnit testing: Write Unit Tests to test the correctness of your codeDuration2,5 hour video time. 5 Hours with 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.Students of this course tell me:* * * * * "An excellent, concise and clear explanation of the basics of OOP. Fantastic course! Thanks Loek."* * * * * "This is the Python OOP course I've been searching for a long time. Many courses teach OOP syntax but few courses help you understand the "why", and then followed by the "how". This course does it and also with realistic scenarios that make it more relevant to the workplace. Highly recommended!"* * * * * "I thought OOP it was really difficult. But through this course, OOP is something that makes coding much readable and robust. I am sure this course will help people who have hard time coding plain and simple."