图书标签: design 架构设计 prefactoring Refactoring Programming se 软件工程 计算机
发表于2024-11-22
Prefactoring pdf epub mobi txt 电子书 下载 2024
More often than not, developers will stop a large project in the middle of the build stage to rethink and recode the software design so it's cleaner and more efficient. Known as "refactoring," this process eats up valuable time and money. To help offset refactoring, this book presents a new process called "prefactoring," the premise of which states that you're better off considering the best possible design patterns before you even begin your project. Prefactoring, in essence, is the art of applying the insights gleaned from previous experience (whether yours or someone else's) when developing software to new projects. Doing so will likely save you from making costly design changes midstream - and maybe even save your job! This practical, thought-provoking guide details prefactoring guidelines in design, code, and testing, each derived from the lessons of many developers over many years. With these guidelines, you're far more likely to create more readable and maintainable code before you reach the second-guessing stage. To help communicate the many facets of this process, "Prefactoring" follows the example of a fictitious client, Sam, as he seeks to create a software system from beginning to implementation. Among the topics covered are: General development issues; Implementation classes; Object-oriented design; Creating reports via separation of concerns; Associations and states; and, Creating and testing interfaces. If you understand object-oriented design, and you want to save time and money by considering more efficient designs before you begin your project, "Prefactoring" will show you the way. It won't guarantee that you'll never need to refactor your design or code again, but you're sure to cut down on the amount of refactoring you do.
从亚马逊中国收了一本原版的,才31块人民币,真便宜!
评分今天终于读完了这本书了,书不厚,是我翻历年jolt大奖的名单翻出来的,给我印象最深最深的就是他对于基础数据类型的抽象,比如money不用float表示用自己的Money类,name不用String表示用自己的Name类,虽然并不一定每次都应该这样,但是通过这种方式,可以让类更加内聚,比如对name格式的验证,对money有效性的检查,都可以放在各自的类中,不会散落在业务逻辑代码里,也不会放在各种奇怪的util或者helper类里,这样对代码的维护是有好处的。 还有一个是对接口的运用,说了一句“继承都可以通过某种方式改装成接口”,让我思考良久啊。 后边提到在接口的基础之上运用DI和AOP来增强可扩展性。 所以接下来我准本看一本这方面的书,已经开始啦<Spring in Action>
评分今天终于读完了这本书了,书不厚,是我翻历年jolt大奖的名单翻出来的,给我印象最深最深的就是他对于基础数据类型的抽象,比如money不用float表示用自己的Money类,name不用String表示用自己的Name类,虽然并不一定每次都应该这样,但是通过这种方式,可以让类更加内聚,比如对name格式的验证,对money有效性的检查,都可以放在各自的类中,不会散落在业务逻辑代码里,也不会放在各种奇怪的util或者helper类里,这样对代码的维护是有好处的。 还有一个是对接口的运用,说了一句“继承都可以通过某种方式改装成接口”,让我思考良久啊。 后边提到在接口的基础之上运用DI和AOP来增强可扩展性。 所以接下来我准本看一本这方面的书,已经开始啦<Spring in Action>
评分从亚马逊中国收了一本原版的,才31块人民币,真便宜!
评分今天终于读完了这本书了,书不厚,是我翻历年jolt大奖的名单翻出来的,给我印象最深最深的就是他对于基础数据类型的抽象,比如money不用float表示用自己的Money类,name不用String表示用自己的Name类,虽然并不一定每次都应该这样,但是通过这种方式,可以让类更加内聚,比如对name格式的验证,对money有效性的检查,都可以放在各自的类中,不会散落在业务逻辑代码里,也不会放在各种奇怪的util或者helper类里,这样对代码的维护是有好处的。 还有一个是对接口的运用,说了一句“继承都可以通过某种方式改装成接口”,让我思考良久啊。 后边提到在接口的基础之上运用DI和AOP来增强可扩展性。 所以接下来我准本看一本这方面的书,已经开始啦<Spring in Action>
评分
评分
评分
评分
Prefactoring pdf epub mobi txt 电子书 下载 2024