Articoli correlati a Five Lines of Code: How and When to Refactor

Five Lines of Code: How and When to Refactor - Brossura

 
9781617298318: Five Lines of Code: How and When to Refactor

Sinossi

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 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-by-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 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.

Purchase of the print book includes a free eBook in PDF, Kindle, and ePub formats from Manning Publications.

About the technology
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!

About the book
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

About the reader
For developers of all skill levels. Examples use easy-to-read Typescript, in the same style as Java and C#.

About the author
Christian Clausen works as a Technical Agile Coach, teaching teams how to refactor code.

Table of Contents
1 Refactoring refactoring
2 Looking under the hood of refactoring
PART 1 LEARN BY REFACTORING A COMPUTER GAME
3 Shatter long function
4 Make type codes work
5 Fuse similar code together
6 Defend the data
PART 2 TAKING WHAT YOU HAVE LEARNED INTO THE REAL WORLD
7 Collaborate with the compiler
8 Stay away from comments
9 Love deleting code
10 Never be afraid to add code
11 Follow the structure in the code
12 Avoid optimizations and generality
13 Make bad code look bad
14 Wrapping up

Le informazioni nella sezione "Riassunto" possono far riferimento a edizioni diverse di questo titolo.

Informazioni sull?autore

Christian Clausen works as a Technical Agile Coach teaching teams how to properly refactor their code. Previously he worked as a software engineer on the Coccinelle semantic patching project, an automated refactoring tool. He has an MSc in computer science, and five years&; experience teaching software quality at a university level.

Le informazioni nella sezione "Su questo libro" possono far riferimento a edizioni diverse di questo titolo.

Compra usato

Condizioni: come nuovo
Unread book in perfect condition...
Visualizza questo articolo

EUR 16,94 per la spedizione da U.S.A. a Italia

Destinazione, tempi e costi

EUR 1,19 per la spedizione da U.S.A. a Italia

Destinazione, tempi e costi

Risultati della ricerca per Five Lines of Code: How and When to Refactor

Foto dell'editore

Christian Clausen
Editore: Pearson Education, 2021
ISBN 10: 161729831X ISBN 13: 9781617298318
Nuovo PAP

Da: PBShop.store US, Wood Dale, IL, U.S.A.

Valutazione del venditore 5 su 5 stelle 5 stelle, Maggiori informazioni sulle valutazioni dei venditori

PAP. Condizione: New. New Book. Shipped from UK. Established seller since 2000. Codice articolo PB-9781617298318

Contatta il venditore

Compra nuovo

EUR 45,89
Convertire valuta
Spese di spedizione: EUR 1,19
Da: U.S.A. a: Italia
Destinazione, tempi e costi

Quantità: 15 disponibili

Aggiungi al carrello

Foto dell'editore

Christian Clausen
Editore: Pearson Education, 2021
ISBN 10: 161729831X ISBN 13: 9781617298318
Nuovo PAP

Da: PBShop.store UK, Fairford, GLOS, Regno Unito

Valutazione del venditore 5 su 5 stelle 5 stelle, Maggiori informazioni sulle valutazioni dei venditori

PAP. Condizione: New. New Book. Shipped from UK. Established seller since 2000. Codice articolo PB-9781617298318

Contatta il venditore

Compra nuovo

EUR 41,63
Convertire valuta
Spese di spedizione: EUR 6,02
Da: Regno Unito a: Italia
Destinazione, tempi e costi

Quantità: 15 disponibili

Aggiungi al carrello

Foto dell'editore

CLAUSEN, CHRISTIAN
Editore: Manning, 2021
ISBN 10: 161729831X ISBN 13: 9781617298318
Nuovo Brossura

Da: Speedyhen, London, Regno Unito

Valutazione del venditore 5 su 5 stelle 5 stelle, Maggiori informazioni sulle valutazioni dei venditori

Condizione: NEW. Codice articolo NW9781617298318

Contatta il venditore

Compra nuovo

EUR 41,65
Convertire valuta
Spese di spedizione: EUR 8,00
Da: Regno Unito a: Italia
Destinazione, tempi e costi

Quantità: 3 disponibili

Aggiungi al carrello

Immagini fornite dal venditore

Christian Clausen
Editore: Manning Publications, US, 2021
ISBN 10: 161729831X ISBN 13: 9781617298318
Nuovo Paperback

Da: Rarewaves USA, OSWEGO, IL, U.S.A.

Valutazione del venditore 5 su 5 stelle 5 stelle, Maggiori informazioni sulle valutazioni dei venditori

Paperback. Condizione: New. 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." It's written for working developers, guiding you step by step through applying refactoring patterns to the codebase of a 2D puzzle game. 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. Thanks to this hands-on guide, you'll find yourself programming faster while still delivering high-quality code that your teammates will love to work with. about the technologyRefactoring is a fact of life. All code is imperfect, and refactoring is a systematic process you can use to improve the quality of your codebase. Whatever your architecture, choice of OO language, or skill as a programmer, the continuous design improvements of refactoring make your code simpler, more readable, and less prone to bugs. You'll be amazed at the productivity boost of adding refactoring to your code hygiene routine-it's quicker to hammer out bad code and then improve it than spending hours writing good code in the first place! about the book Five Lines of Code  teaches working developers the shortcuts to quality code. You'll follow author Christian Clausen's unique approach to teaching refactoring that's focused on concrete rules, and getting any method down to five lines or less to implement! There's no jargon or tricky automated-testing skills required, just easy guidelines and patterns illustrated by detailed code samples. Chapter by chapter you'll put techniques into action by refactoring a complete 2D puzzle game. Before you know it, you'll be making serious and tangible improvements to your codebase. what's inside The symptoms of bad codeThe extracting method, introducing strategy pattern, and many other refactoring patternsModifying code safely, even when you don't understand itWriting stable code that enables change-by-additionProper compiler practicesWriting code that needs no commentsReal-world practices for great refactoring about the readerFor developers who know an object-oriented programming language. about the author Christian Clausen  works as a Technical Agile Coach teaching teams how to properly refactor their code. Previously he worked as a software engineer on the Coccinelle semantic patching project, an automated refactoring tool. He has an MSc in computer science, and five years' experience teaching software quality at a university level. Codice articolo LU-9781617298318

Contatta il venditore

Compra nuovo

EUR 48,94
Convertire valuta
Spese di spedizione: EUR 3,39
Da: U.S.A. a: Italia
Destinazione, tempi e costi

Quantità: 10 disponibili

Aggiungi al carrello

Immagini fornite dal venditore

Christian Clausen
Editore: Manning Publications, US, 2021
ISBN 10: 161729831X ISBN 13: 9781617298318
Nuovo Paperback

Da: Rarewaves.com UK, London, Regno Unito

Valutazione del venditore 5 su 5 stelle 5 stelle, Maggiori informazioni sulle valutazioni dei venditori

Paperback. Condizione: New. 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." It's written for working developers, guiding you step by step through applying refactoring patterns to the codebase of a 2D puzzle game. 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. Thanks to this hands-on guide, you'll find yourself programming faster while still delivering high-quality code that your teammates will love to work with. about the technologyRefactoring is a fact of life. All code is imperfect, and refactoring is a systematic process you can use to improve the quality of your codebase. Whatever your architecture, choice of OO language, or skill as a programmer, the continuous design improvements of refactoring make your code simpler, more readable, and less prone to bugs. You'll be amazed at the productivity boost of adding refactoring to your code hygiene routine-it's quicker to hammer out bad code and then improve it than spending hours writing good code in the first place! about the book Five Lines of Code  teaches working developers the shortcuts to quality code. You'll follow author Christian Clausen's unique approach to teaching refactoring that's focused on concrete rules, and getting any method down to five lines or less to implement! There's no jargon or tricky automated-testing skills required, just easy guidelines and patterns illustrated by detailed code samples. Chapter by chapter you'll put techniques into action by refactoring a complete 2D puzzle game. Before you know it, you'll be making serious and tangible improvements to your codebase. what's inside The symptoms of bad codeThe extracting method, introducing strategy pattern, and many other refactoring patternsModifying code safely, even when you don't understand itWriting stable code that enables change-by-additionProper compiler practicesWriting code that needs no commentsReal-world practices for great refactoring about the readerFor developers who know an object-oriented programming language. about the author Christian Clausen  works as a Technical Agile Coach teaching teams how to properly refactor their code. Previously he worked as a software engineer on the Coccinelle semantic patching project, an automated refactoring tool. He has an MSc in computer science, and five years' experience teaching software quality at a university level. Codice articolo LU-9781617298318

Contatta il venditore

Compra nuovo

EUR 50,25
Convertire valuta
Spese di spedizione: EUR 2,29
Da: Regno Unito a: Italia
Destinazione, tempi e costi

Quantità: 1 disponibili

Aggiungi al carrello

Immagini fornite dal venditore

Clausen, Christian; Martin, Robert C. (FRW)
Editore: Manning, 2021
ISBN 10: 161729831X ISBN 13: 9781617298318
Antico o usato Brossura

Da: GreatBookPrices, Columbia, MD, U.S.A.

Valutazione del venditore 5 su 5 stelle 5 stelle, Maggiori informazioni sulle valutazioni dei venditori

Condizione: As New. Unread book in perfect condition. Codice articolo 42649845

Contatta il venditore

Compra usato

EUR 36,96
Convertire valuta
Spese di spedizione: EUR 16,94
Da: U.S.A. a: Italia
Destinazione, tempi e costi

Quantità: Più di 20 disponibili

Aggiungi al carrello

Immagini fornite dal venditore

Clausen, Christian; Martin, Robert C. (FRW)
Editore: Manning, 2021
ISBN 10: 161729831X ISBN 13: 9781617298318
Nuovo Brossura

Da: GreatBookPrices, Columbia, MD, U.S.A.

Valutazione del venditore 5 su 5 stelle 5 stelle, Maggiori informazioni sulle valutazioni dei venditori

Condizione: New. Codice articolo 42649845-n

Contatta il venditore

Compra nuovo

EUR 37,01
Convertire valuta
Spese di spedizione: EUR 16,94
Da: U.S.A. a: Italia
Destinazione, tempi e costi

Quantità: Più di 20 disponibili

Aggiungi al carrello

Immagini fornite dal venditore

Christian Clausen
Editore: Manning Publications, US, 2021
ISBN 10: 161729831X ISBN 13: 9781617298318
Nuovo Paperback

Da: Rarewaves USA United, OSWEGO, IL, U.S.A.

Valutazione del venditore 5 su 5 stelle 5 stelle, Maggiori informazioni sulle valutazioni dei venditori

Paperback. Condizione: New. 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." It's written for working developers, guiding you step by step through applying refactoring patterns to the codebase of a 2D puzzle game. 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. Thanks to this hands-on guide, you'll find yourself programming faster while still delivering high-quality code that your teammates will love to work with. about the technologyRefactoring is a fact of life. All code is imperfect, and refactoring is a systematic process you can use to improve the quality of your codebase. Whatever your architecture, choice of OO language, or skill as a programmer, the continuous design improvements of refactoring make your code simpler, more readable, and less prone to bugs. You'll be amazed at the productivity boost of adding refactoring to your code hygiene routine-it's quicker to hammer out bad code and then improve it than spending hours writing good code in the first place! about the book Five Lines of Code  teaches working developers the shortcuts to quality code. You'll follow author Christian Clausen's unique approach to teaching refactoring that's focused on concrete rules, and getting any method down to five lines or less to implement! There's no jargon or tricky automated-testing skills required, just easy guidelines and patterns illustrated by detailed code samples. Chapter by chapter you'll put techniques into action by refactoring a complete 2D puzzle game. Before you know it, you'll be making serious and tangible improvements to your codebase. what's inside The symptoms of bad codeThe extracting method, introducing strategy pattern, and many other refactoring patternsModifying code safely, even when you don't understand itWriting stable code that enables change-by-additionProper compiler practicesWriting code that needs no commentsReal-world practices for great refactoring about the readerFor developers who know an object-oriented programming language. about the author Christian Clausen  works as a Technical Agile Coach teaching teams how to properly refactor their code. Previously he worked as a software engineer on the Coccinelle semantic patching project, an automated refactoring tool. He has an MSc in computer science, and five years' experience teaching software quality at a university level. Codice articolo LU-9781617298318

Contatta il venditore

Compra nuovo

EUR 50,74
Convertire valuta
Spese di spedizione: EUR 3,39
Da: U.S.A. a: Italia
Destinazione, tempi e costi

Quantità: 10 disponibili

Aggiungi al carrello

Immagini fornite dal venditore

Christian Clausen
Editore: Manning Publications, US, 2021
ISBN 10: 161729831X ISBN 13: 9781617298318
Nuovo Paperback

Da: Rarewaves.com USA, London, LONDO, Regno Unito

Valutazione del venditore 5 su 5 stelle 5 stelle, Maggiori informazioni sulle valutazioni dei venditori

Paperback. Condizione: New. 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." It's written for working developers, guiding you step by step through applying refactoring patterns to the codebase of a 2D puzzle game. 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. Thanks to this hands-on guide, you'll find yourself programming faster while still delivering high-quality code that your teammates will love to work with. about the technologyRefactoring is a fact of life. All code is imperfect, and refactoring is a systematic process you can use to improve the quality of your codebase. Whatever your architecture, choice of OO language, or skill as a programmer, the continuous design improvements of refactoring make your code simpler, more readable, and less prone to bugs. You'll be amazed at the productivity boost of adding refactoring to your code hygiene routine-it's quicker to hammer out bad code and then improve it than spending hours writing good code in the first place! about the book Five Lines of Code  teaches working developers the shortcuts to quality code. You'll follow author Christian Clausen's unique approach to teaching refactoring that's focused on concrete rules, and getting any method down to five lines or less to implement! There's no jargon or tricky automated-testing skills required, just easy guidelines and patterns illustrated by detailed code samples. Chapter by chapter you'll put techniques into action by refactoring a complete 2D puzzle game. Before you know it, you'll be making serious and tangible improvements to your codebase. what's inside The symptoms of bad codeThe extracting method, introducing strategy pattern, and many other refactoring patternsModifying code safely, even when you don't understand itWriting stable code that enables change-by-additionProper compiler practicesWriting code that needs no commentsReal-world practices for great refactoring about the readerFor developers who know an object-oriented programming language. about the author Christian Clausen  works as a Technical Agile Coach teaching teams how to properly refactor their code. Previously he worked as a software engineer on the Coccinelle semantic patching project, an automated refactoring tool. He has an MSc in computer science, and five years' experience teaching software quality at a university level. Codice articolo LU-9781617298318

Contatta il venditore

Compra nuovo

EUR 54,61
Convertire valuta
Spese di spedizione: EUR 2,29
Da: Regno Unito a: Italia
Destinazione, tempi e costi

Quantità: 1 disponibili

Aggiungi al carrello

Foto dell'editore

Christian Clausen
Editore: Manning Publications, 2021
ISBN 10: 161729831X ISBN 13: 9781617298318
Nuovo Brossura Prima edizione

Da: Kennys Bookshop and Art Galleries Ltd., Galway, GY, Irlanda

Valutazione del venditore 5 su 5 stelle 5 stelle, Maggiori informazioni sulle valutazioni dei venditori

Condizione: New. 2021. 1st Edition. Paperback. . . . . . Codice articolo V9781617298318

Contatta il venditore

Compra nuovo

EUR 56,13
Convertire valuta
Spese di spedizione: EUR 2,00
Da: Irlanda a: Italia
Destinazione, tempi e costi

Quantità: 3 disponibili

Aggiungi al carrello

Vedi altre 22 copie di questo libro

Vedi tutti i risultati per questo libro