Five Lines of Code: How and when to refactor


Five Lines of Code: How and when to refactor
Author: Christian Clausen
Publisher Finelybook 出版社: Manning (October 26,2021)
Language 语言: English
pages 页数: 336 pages
ISBN-10 书号: 161729831X
ISBN-13 书号: 9781617298318


Book Description
Five Lines of Code teaches refactoring that’s focused on concrete rules and getting any method down to five lines or less! There’s no jargon or tricky automated-testing skills required,just easy guidelines and patterns illustrated Author: detailed code samples.
In Five Lines of Code you will learn:
The signs of bad code
Improving code safely,even when you don’t understand it
Balancing optimization and code generality
Proper compiler practices
The Extract method,Introducing Strategy pattern,and many other refactoring patterns
Writing stable code that enables change-Author: -addition
Writing code that needs no comments
Real-world practices for great refactoring
Improving existing code—refactoring—is one of the most common tasks you’ll face as a programmer. Five Lines of Code teaches you clear and actionable refactoring rules that you can apply without relying on intuitive judgements such as “code smells.” Following the author’s expert perspective—that refactoring and code smells can be learned Author: following a concrete set of principles—you’ll learn when to refactor your code,what patterns to apply to what problem,and the code characteristics that indicate it’s time for a rework.
Every codebase includes mistakes and inefficiencies that you need to find and fix. Refactor the right way,and your code becomes elegant,easy to read,and easy to maintain. In this book,you’ll learn a unique approach to refactoring that implements any method in five lines or fewer. You’ll also discover a secret most senior devs know: sometimes it’s quicker to hammer out code and fix it later!
Five Lines of Code is a fresh look at refactoring for developers of all skill levels. In it,you’ll master author Christian Clausen’s innovative approach,learning concrete rules to get any method down to five lines—or less! You’ll learn when to refactor,specific refactoring patterns that apply to most common problems,and characteristics of code that should be deleted altogether.
What’s inside
The signs of bad code
Improving code safely,even when you don’t understand it
Balancing optimization and code generality
Proper compiler practices


下载地址:

Five Lines of Code How and when to refactor 9781617298318.zip

下载地址 Download
打赏
未经允许不得转载:finelybook » Five Lines of Code: How and when to refactor

相关推荐

  • 暂无文章

觉得文章有用就打赏一下

您的打赏,我们将继续给力更多优质内容

支付宝扫一扫打赏

微信扫一扫打赏