Cargando…

Refactoring TypeScript : Keeping Your Code Healthy.

Refactoring TypeScript is an approachable look at getting your code into shape. Learn some of the causes of unhealthy code, how to identify them, techniques to cure them, and more.

Detalles Bibliográficos
Clasificación:Libro Electrónico
Autor principal: Hickey, James
Formato: Electrónico eBook
Idioma:Inglés
Publicado: Birmingham : Packt Publishing, Limited, 2019.
Temas:
Acceso en línea:Texto completo

MARC

LEADER 00000cam a2200000Mi 4500
001 EBSCO_on1125109257
003 OCoLC
005 20231017213018.0
006 m o d
007 cr cnu---unuuu
008 191026s2019 enk o 000 0 eng d
040 |a EBLCP  |b eng  |e pn  |c EBLCP  |d YDX  |d UKMGB  |d TEFOD  |d OCLCF  |d OCLCQ  |d UKAHL  |d OCLCQ  |d N$T  |d OCLCO  |d NZAUC  |d OCLCQ  |d OCLCO 
015 |a GBB9H7965  |2 bnb 
016 7 |a 019591550  |2 Uk 
019 |a 1125101214  |a 1125154383  |a 1125267318 
020 |a 183921841X 
020 |a 9781839218415  |q (electronic bk.) 
020 |z 1839218045 
020 |z 9781839218040 
029 1 |a UKMGB  |b 019591550 
035 |a (OCoLC)1125109257  |z (OCoLC)1125101214  |z (OCoLC)1125154383  |z (OCoLC)1125267318 
037 |a 9781839218415  |b Packt Publishing 
037 |a 050D5CF9-371F-4526-8B25-9FA73472691E  |b OverDrive, Inc.  |n http://www.overdrive.com 
050 4 |a QA76.73.T97 
082 0 4 |a 005.133  |2 23 
049 |a UAMI 
100 1 |a Hickey, James. 
245 1 0 |a Refactoring TypeScript :  |b Keeping Your Code Healthy. 
260 |a Birmingham :  |b Packt Publishing, Limited,  |c 2019. 
300 |a 1 online resource (120 pages) 
336 |a text  |b txt  |2 rdacontent 
337 |a computer  |b c  |2 rdamedia 
338 |a online resource  |b cr  |2 rdacarrier 
588 0 |a Print version record. 
505 0 |a Cover; FM; Copyright; Table of Contents; Preface; Chapter 1: Introduction; About TypeScript; What Is It?; What's All the Fuss About?; TypeScript versus JavaScript; Why I Chose TypeScript for This Book; What Is Refactoring?; Let's Define It; Our Approach; Design Patterns; Why Refactor at All?; Slow Development; Saving Money; Navy SEALS Get It; Being a Craftsman; Case Study #1; Case Study #2; When Should I Refactor?; The Boy Scout Rule; Repetitive Work; Difficulty Adding Features; In the End; Chapter 2: Null Checks Everywhere!; Identification; Billion-Dollar Mistake; Example; Is It That Bad? 
505 8 |a Non-Nullable TypesNull Object Pattern; Empty Collections; Fixing It Up; Take 2; What About Objects?; Special Case Pattern; Situation; An Order Class That Needs to Be Refactored; Refactoring the Order Class; Chapter 3: Wordy Conditionals; Identification; A Little Bit of This, a Little Bit of That; Misbehaving Conditionals; Combining Conditionals; Situation; The Code; Guideline; Extracting Methods from Conditionals; What's Wrong Here?; The Fix; Extracting Conditional Logic to Explicit Classes; Let's Get Classy; SRP; Using It; Pipe Classes; Your Classes Might Be Doing Too Much ... 
505 8 |a Piping Our LogicBonus Refactor; Chapter 4: Nested Conditionals; Identification; A Monster; A Closer Look; Guard Clauses; Scenario; Fail Fast; Fixing It Up; Gate Classes; Scenario; Gate Classes to the Rescue; Useful for Web APIs; Chapter 5: Primitive Overuse; Identification; What's Wrong Here?; Value Objects; Scenario; Initial Refactor; Addressing Primitives; Creating Our Object; Moving Along; Immediate Validation; Deceptive Booleans; Scenario; New Business Rules; More Rules ... ; Is It Really That Bad?; Just Use Enums; Strategy Pattern; Chapter 6: Lengthy Method Signatures; Identification 
505 8 |a The Slippery Slope of Optional ParametersThe Issue; Guidelines; Creating a Reusable Private Method; A Simple Example; Creating Semantically Meaningful Methods; A Brief Look at Some Advanced Solutions; Extracting Data Objects; Extraction; Chapter 7: Methods That Never End; Identification; When Is a Method Too Long?; Give It a Name; Being Strategic; Chapter 8: Dumping Grounds; Identification; Object-Oriented?; The Great Debate; Coupling; Warning Sign; One of These Things Is Not Like The Others; You Have Mail; Breaking It Up; Keep Separate Things Separate; Speak or Listen; CQRS; Read and Write 
505 8 |a Next StepsCommands; Queries; Conclusion; A Word of Caution; Chapter 9: Messy Object Creation; Identification; Factory Functions; Functions versus Static Methods; Combining Refactoring Techniques; Complexity Remains ... ; Building It; The Builder Pattern; One Last Improvement; Chapter 10: Conclusion; This Is Just The Beginning!; Index 
520 |a Refactoring TypeScript is an approachable look at getting your code into shape. Learn some of the causes of unhealthy code, how to identify them, techniques to cure them, and more. 
590 |a eBooks on EBSCOhost  |b EBSCO eBook Subscription Academic Collection - Worldwide 
650 0 |a TypeScript (Computer program language) 
650 0 |a Software refactoring. 
650 6 |a TypeScript (Langage de programmation) 
650 6 |a Logiciels  |x Refactorisation. 
650 7 |a Software refactoring  |2 fast 
650 7 |a TypeScript (Computer program language)  |2 fast 
776 0 8 |i Print version:  |a Hickey, James.  |t Refactoring TypeScript : Keeping Your Code Healthy.  |d Birmingham : Packt Publishing, Limited, ©2019  |z 9781839218040 
856 4 0 |u https://ebsco.uam.elogim.com/login.aspx?direct=true&scope=site&db=nlebk&AN=2278655  |z Texto completo 
938 |a Askews and Holts Library Services  |b ASKH  |n AH36843116 
938 |a ProQuest Ebook Central  |b EBLB  |n EBL5964768 
938 |a YBP Library Services  |b YANK  |n 16515759 
938 |a EBSCOhost  |b EBSC  |n 2278655 
994 |a 92  |b IZTAP