|
所在平台: Udemy |
课程主页: https://www.udemy.com/course/java-clean-code-with-refactoring-and-tdd/
课程评论:没有评论
**课程名称:** Java 编写整洁代码:学习简洁设计、重构和 TDD **课程概述:** 本课程将教你如何使用 Java 编写整洁的代码。通过实际的代码示例,你将深入学习简洁设计的四大原则、重构技巧以及测试驱动开发 (TDD)。 **学员评价:** * “直观、简洁且实用。” * “对于理解整洁编码和 TDD 方法非常有帮助。课程中的练习将帮助我写出更整洁、更易于维护的代码。” * “课程结构非常完善,从如何编写整洁代码,到重构,再到 TDD,都以非常实用的方式进行讲解。” * “太棒了!强烈推荐给所有开发者。课程将解释编写标准、整洁且易于维护代码的最佳方式。还有超赞的重构技巧!” * “这门课太棒了,我非常喜欢。教练能够清晰地传达复杂的概念。” **课程目标:** * **目标一:** 理解代码的清晰度(单元测试)。 * **目标二:** 掌握简洁设计的四大原则。 * **目标三:** 开始学习重构。 * **目标四:** 理解测试驱动开发 (TDD)。 **课程内容详解:** **一、代码清晰度入门** * 设置指南:整洁代码、简洁设计、重构和 TDD。 * "Gilded Rose" 问题讲解与单元测试重构(包含多个部分)。 * 关于整洁代码的态度。 **二、简洁设计的四大原则入门** * 四大原则介绍。 * 通过练习学习:`StudentHelper.isGradeB`, `StudentHelper.getGrade`, `StudentHelper.willQualifyForQuiz`。 * 编程中最具挑战性的部分:命名。 * 通过练习学习:`TextHelper.swapLastTwoCharacters`, `TextHelper.truncateAInFirst2Positions`。 * 代码注释的使用。 * 通过练习学习:`CustomerBOTest`(两个部分)。 * 关于单元测试的态度。 * 单元测试原则。 **三、重构入门** * 重构介绍。 * 通过练习学习重构:`CustomerBOImpl.getCustomerProductsSum`, `Movie.isValidRating`, `MenuAccess.setAuthorizationsInEachMenus`, `UserLoginChecker.isUserAllowedToLogin` (两个部分)。 * 我为优秀程序员提供的 10 条建议。 **四、测试驱动开发 (TDD) 入门** * TDD 介绍。 * 通过练习学习 TDD:`StringHelper.replaceAInFirst2Positions` (两个部分), `StringHelper.areFirstTwoAndLastTwoCharsTheSame`。 * "Bowling Kata" 练习(包含介绍、入门、Spare 和 Strike)。 * TDD 的 3 条技巧。 **结束:** * 感谢。 * 课程总结。
Learn to Write Clean Code with Java. Get Hands-on with Code Examples involving 4 principles of Simple Design, Refactoring & TDD.WHAT STUDENTS ARE SAYING5 STARS - Straight to the point concise and practical5 STARS - It was a great course to get an understanding of clean coding and the TDD approach. Exercises in this course will help me to write in more cleaner and maintainable manner.5 STARS - Very well structured course, starting from how to write clean code, then refactor and finally coding with TDD, but with a very practical approach.5 STARS - Amazing Course!! It's a recommended course for every developer. The course will explain the best way to write standard, clean & maintainable code. Awesome refactoring tips & tricks.Hats off!! in28minutes team5 STARS - This course is awesome; really liking the course so far. The instructor clearly conveys difficult concepts.OUR APPROACHGoal I: Understand Clarity of Code (Unit Tests)Goal II: Focus on 4 Principles of Simple DesignGoal III: Get started with RefactoringGoal IV: Understand TDDSTEP BY STEP DETAILSGetting Started with Clarity in CodeClean Code with Simple Design, Refactoring and TDD - Getting SetupStep 00 - Clarity in Code - Problem 1 - Gilded Rose - IntroductionStep 01 - Clarity in Code - Problem 1 - Gilded Rose - Refactoring Unit Test 1 - Default ItemStep 02 - Clarity in Code - Problem 1 - Gilded Rose - Refactoring Unit Test 2 - Default ItemStep 03 - Clarity in Code - Problem 1 - Gilded Rose - Refactoring Unit Test 3 - Aged BrieStep 04 - Clarity in Code - Problem 1 - Gilded Rose - Refactoring Unit Test 4 - Backstage PassesStep 05 - Clean Code - Attitude for the courseGetting Started with 4 Principles of Simple DesignStep 01 - 4 Principles of Simple Design - An IntroductionStep 02 - 4 Principles of Simple Design - Exercise - StudentHelper.isGradeBStep 03 - 4 Principles of Simple Design - Exercise - StudentHelper.getGradeStep 04 - 4 Principles of Simple Design - Exercise - StudentHelper.willQualifyForQuizStep 06 - Most difficult challenge in programming - NamingStep 07 - 4 Principles of Simple Design - Exercise - TextHelper.swapLastTwoCharactersStep 07 - Should you have comments in code?Step 08 - 4 Principles of Simple Design - Exercise - TextHelper.truncateAInFirst2PositionsStep 09 - 4 Principles of Simple Design - Exercise - CustomerBOTestStep 10 - 4 Principles of Simple Design - Exercise - CustomerBOTestStep 11 - Attitude towards Unit TestingStep 12 - Unit Testing PrinciplesGetting Started with RefactoringStep 01 - Introduction to RefactoringStep 02 - Refactoring - Exercise - CustomerBOImpl.getCustomerProductsSumStep 03 - Refactoring - Exercise - Movie.isValidRatingStep 04 - Refactoring - Exercise - MenuAccess.setAuthorizationsInEachMenusStep 05 - Refactoring - Exercise - UserLoginChecker.isUserAllowedToLogin - 1Step 06 - Refactoring - Exercise - UserLoginChecker.isUserAllowedToLogin - 2Step 07 - My 10 Tips for Good ProgrammersGetting Started with Test Driven DevelopmentStep 01 - Introduction to Test Driven Development - TDDStep 02 - Test Driven Development - TDD - Exercise - StringHelper.replaceAInFirst2PositionsStep 03 - Test Driven Development - TDD - Exercise - StringHelper.replaceAInFirst2PositionsStep 04 - Test Driven Development - TDD - Exercise - StringHelper.areFirstTwoAndLastTwoCharsTheSameStep 05 - Test Driven Development - TDD - Exercise - Bowling Kata - IntroductionStep 06 - Test Driven Development - TDD - Exercise - Bowling Kata - Getting StartedStep 07 - Test Driven Development - TDD - Exercise - Bowling Kata - SpareStep 08 - Test Driven Development - TDD - Exercise - Bowling Kata - StrikeStep 09 - 3 Tips for Test Driven Development - TDDThank YouClean Code with Simple Design, Refactoring and TDD - Thank You