Pyramid of Refactoring derived from Legacy Code cleaning

所在平台: Udemy

课程主页: https://www.udemy.com/course/pyramid-of-refactoring-java-interpreter-factories/

课程评论:没有评论

第一个写评论        关注课程

课程简介

**课程名称:** 重构金字塔:清理遗留代码 **课程概述:** 本课程是“重构金字塔”系列的第一部分,旨在帮助学员实现整洁代码(Clean Code)。课程将通过实际操作指导学员进行重构,所有代码修改都将实时展示。学员可以下载源代码,与讲师一步一步同步进行操作。 本示例以实现**解释器设计模式(Interpreter Pattern)**为重构目标。在此过程中,还将应用**工厂方法(Factory Method)**和**流畅生成器(Fluent Builder)**这两种创建型设计模式。 课程将**理论与实践相结合**,通过实际场景讲解 **SOLID 原则**,而非单纯的理论灌输。 学员将有机会练习多种代码转换技巧,包括: * 循环转为流(Replace Loop with Stream) * 提取委托/类(Extract Delegate / Class) * 提取接口(Extract Interface) * 提取参数对象(Extract Parameter Object) * 方法转为方法对象(Replace Method with Method Object) * 提取方法/变量(Extract Method / Variable) * 移动方法(Move Method) * 内联方法/变量(Inline Method / Variable) **学习方式:** * 安装 IntelliJ IDE 及 Java。 * 跟随讲师一步一步进行代码实践。 * 学习 IntelliJ IDE 内置的重构转换功能。 **额外福利:** * 注册课程后,将获得讲师其他相关培训的优惠信息,以最低价格继续学习。 **课程收获:** * 与数百名软件开发者一同学习。 * 通过 2 小时的学习,掌握实用的重构技巧,提升日常代码质量。

课程评论(0条)

课程详情

This is the first module of (planned) series called "Pyramid of Refactoring" dedicated to achieving Clean Code.We use refactoring techniques and perform all the changes live. The student downloads the source code and performs all the changes together with the trainer - step by step. In this sample we make use of Interpreter Design Pattern as goal of our refactoring journey. The Interpreter Pattern is accompanied by two creational design patterns - Factory Method and Fluent Builder, which are also result of refactoring activities.SOLID Principles will be explained in practice instead of teaching the sole theory.The journey allows us practice code transformations like:Replace Loop with StreamExtract Delegate / ClassExtract InterfaceExtract Parameter ObjectReplace Method with Method Object Extract Method / VariableMove MethodInline Method / VariableInstall IntelliJ IDE, Java and try it out. You will perform all the changes step by step with the trainer and learn refactoring transformations built into IntelliJ. Moreover after registering to this online workshop you will be informed about promotional prices of my other trainings which will allow you to continue with this subject at the lowest possible price.Join a few hundreds of software developers whole spent these 2 hours and applied refactoring techniques to Clean Code in their daily work.

课程标签

0人关注该课程

主题相关的课程