Five Lines of Code

Kniha ( měkká vazba )

E-shopové listy

Při zaslání zboží balíčkem

K nákupu nad 99 Kč dárek zdarma v hodnotě 19 Kč

E-shopové listy

Žabarádi

Při zaslání zboží balíčkem

K nákupu nad 999 Kč dárek zdarma v hodnotě 99 Kč

Žabarádi

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 by detailed code samples.In Five Lines of Code you will learn:The signs of bad codeImproving code safely, even… Přejít na celý popis

K tomuto produktu zákazníci kupují

Popis

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 by detailed code samples.In Five Lines of Code you will learn:The signs of bad codeImproving code safely, even when you don’t understand itBalancing optimization and code generalityProper compiler practicesThe Extract method, Introducing Strategy pattern, and many other refactoring patternsWriting stable code that enables change-by-additionWriting code that needs no commentsReal-world practices for great refactoringImproving 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 by 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.Foreword by Robert C. Martin.About the technologyEvery 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!About the bookFive 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 insideThe signs of bad codeImproving code safely, even when you don’t understand itBalancing optimization and code generalityProper compiler practicesAbout the readerFor developers of all skill levels. Examples use easy-to-read Typescript, in the same style as Java and C#.About the authorChristian Clausen works as a Technical Agile Coach, teaching teams how to refactor code.Table of Contents1 Refactoring refactoring2 Looking under the hood of refactoringPART 1 LEARN BY REFACTORING A COMPUTER GAME3 Shatter long function4 Make type codes work5 Fuse similar code together6 Defend the dataPART 2 TAKING WHAT YOU HAVE LEARNED INTO THE REAL WORLD7 Collaborate with the compiler8 Stay away from comments9 Love deleting code10 Never be afraid to add code11 Follow the structure in the code12 Avoid optimizations and generality13 Make bad code look bad14 Wrapping up

Sdílet

Nakladatel
Manning Publications
Rozměr
236 x 187 x 25
jazyk
angličtina
Vazba
měkká vazba
Hmotnost
626 g
isbn
978-1-61729-831-8
Počet stran
275
datum vydání
13.12.2021
ean
9781617298318

Hodnocení a recenze čtenářů Nápověda

0.0 z 5 0 hodnocení čtenářů

0× 5 hvězdiček 0× 4 hvězdičky 0× 3 hvězdičky 0× 2 hvězdičky 0× 1 hvezdička

Přidejte své hodnocení knihy

Vývoj ceny

Vývoj ceny Nápověda

Získejte přehled o vývoji ceny za posledních 60 dní.

Maloobchodní cena Minimální prodejní cena: 1 518 Kč Nápověda

Články, které stojí za pozornost

Zobrazit blog

Články, které stojí za pozornost