Core Coding Principles

所在平台: Udemy

课程主页: https://www.udemy.com/course/core-coding-principles/

课程评论:没有评论

第一个写评论        关注课程

课程简介

**课程名称:核心编码原则 (Core Coding Principles)** **课程概述:** 本课程面向希望提升编写优质、简洁、易维护代码能力的开发者。课程将深入探讨关键的编码原则,帮助团队建立关于代码质量的统一语言,从而更有效地进行讨论和评估。课程内容涵盖了耦合性与内聚性、SOLID原则、DRY原则等核心概念。虽然课程示例和练习使用C#语言,但所讲授的理论知识同样适用于所有面向对象(OO)语言。 **课程目标:** * 引导开发者关注代码质量。 * 为开发者提供讨论和评估代码质量的工具。 * 帮助开发者在“好”代码的定义上达成团队共识。 * 为开发者提供编写更优质代码的指导。 **课程结构:** * **准备工作:** 了解团队对“好代码”现有的理解。 * **思考代码质量的视角:** * 像Kent Beck一样思考编程: * 软件开发的核心价值观 * 关键原则 * 简单设计的四大规则 * 内聚性与耦合性 * DRY (Don't Repeat Yourself) 原则 * SOLID 原则: * 单一职责原则 (Single Responsibility Principle) * 开闭原则 (Open-Closed Principle) * 里氏替换原则 (Liskov Substitution Principle) * 接口隔离原则 (Interface Segregation Principle) * 依赖倒置原则 (Dependency Inversion Principle) * **编写简洁代码的实践:** * 编码规范 * 有意义的命名 * 函数 * 注释 **学习成果:** 完成本课程后,开发者将能够: * 理解代码质量的重要性及其对有效软件开发的作用。 * 阐述内聚性与耦合性、DRY及SOLID等关键编码原则。 * 运用多种视角来分析代码质量。 * 能够就代码质量点子与团队进行讨论,并就团队的编码规范达成一致。 * 编写出更简洁、更具可读性、更具沟通性、更灵活的代码。

课程评论(0条)

课程详情

The course is for developers who are looking to improve their ability to write good, clean, maintainable code. In it, we cover key coding principles that help to develop a language for discussion within the team. These include coupling and cohesion, the SOLID principles, DRY.Note: the course examples and exercises are in C#, but the theory covered is applicable in all OO languages.Goals -• To get developers thinking about code quality• To provide developers with the tools they need to discuss and evaluate code quality• To get developers to build alignment about what "good" code is• To provide developers with some guidelines about how to go about writing better codeCourse Structure -The following topics are covered:• Preparation - what is the team's existing understanding of good code?• Lenses for Thinking about Code Quality - Thinking about programming like Kent Beck:Core Values of Software DevelopmentKey PrinciplesThe Four Rules of Simple Design• Cohesion and Coupling• DRY• SOLID Principles:Single Responsibility PrincipleOpen-Closed PrincipleLiskov Substitution PrincipleInterface Segregation PrincipleDependency Inversion Principle• The Practice of Writing Clean Code:Coding StandardsMeaningful namingFunctionsCommentsLearning OutcomesAt the end of this course developers will be able to:Understand why code quality is important and how it enables effective software developmentDescribe key coding principles such as cohesion & coupling, DRY, and the SOLID principlesReason about code quality using a variety of lensesDiscuss code quality ideas among a team and be able to, as a team, work towards alignment and agreement on the team's coding standardsWrite cleaner, more readable, more communicative, more flexible code than before

课程标签

0人关注该课程

主题相关的课程