Refactoring

The Art of Safely Improving Software Designs — C Edition

Art for Refactoring Check Out A Preview

By Joshua Kerievsky, C. Keith Ray

Did you ever want to turn a messy, complex software design into simple, safe code? Refactoring provides the tools and techniques for safely improving your software designs. Immerse yourself in Refactoring exercises featuring our "look-over-your-shoulder" technology that gives you expert feedback. Build strong Refactoring skills by learning how to use powerful tools and proven techniques.

Highlights

Expert Videos
Expert Videos: Learn tools & techniques by watching short videos from industry experts. Learn more...
Integrated Forums
Integrated Forums: Ask questions, get expert replies and read fascinating discussions. Learn more...

Includes

  • 4-6 hours of content
  • 90 pages
  • Refactoring Strategies & Tactics
  • 7 Interactive quizzes
  • 20 Videos
  • 5 exercises
  • Support for Visual Studio
  • Support for Eclipse CDT
  • Uses embUnit

Contents

You Are Here 3
Learning to Refactor 4
What Is Refactoring? 6
An Example Refactoring 7
Refactoring Is Revision ← Click to Preview 8
Revision Of The Declaration Of Independence ← Click to Preview 9
What Motivates Us to Refactor? 10
Baby Steps 12
The Hippocratic Oath 13
Refactoring Safely 14
The Rhythm of Refactoring 15
How Would You Refactor This? 16
Two Refactoring Styles 17
Round One 18
Small Steps Quiz 19
Round Two 20
Refactoring Rhythm Quiz 21
When We Say Baby, We Mean Baby 22
Ready For A Challenge? 24
Refactoring a Function ← Click to Preview 25
Finding Refactorings in Code 26
Code Qualities & More Refactorings 27
Finding More Refactorings in Code 28
Automated Refactorings 30
An Exercise To Give You Experience 31
Download the Exercise 32
Exercise Instructions 33
Automated Refactoring Solution 34
Introducing Smellections 36
Refactoring Smellections: Part 1 37
Smells In Collection 38
Two Smells In CommonList and CommonSet 39
Removing A Long Method Smell From List 40
Installing Our Plugin 41
Download the Exercise 42
Refactoring Instructions 43
Smellections Exercise Part 1 Solution 44
Removing Collection 45
Removing CommonList & CommonSet 46
Refactoring to a Composed Method ← Click to Preview 47
Installing Our Plugin 49
Download the Exercise 50
Your Mission 51
Smellections Exercise Part 2 Solution 52
Removing Map from the Hierarchy 53
Refactoring Smellections: Part 3 55
Smells in CommonCollection 56
Don't Fix Bugs 57
Installing Our Plugin 58
Refactoring Instructions 59
Download the Exercise 60
Your Mission 61
Smellections Exercise Part 3 Solution 62
Pulling Up Duplicated List and Set Fields 63
Cleaning Up CommonCollection addAllToCollection 64
Pulling Up Duplication From List and Set 65
Pulling Up Add 66
Removing AddAll from Set 67
Refactoring Rash 69
Strategy: Graceful Retreat 70
Strategy: Gradual Cutover 71
Strategy: Nesting 72
Refactoring Smellections: Part 4 74
Primitive Obsession In Map 75
A Temporary Field In Map 76
Installing Our Plugin 77
Download the Exercise 78
Your Mission 79
Part 4 Solution 80
Experiencing Legacy Code ← Click to Preview 82
Poorly Written Driving Directions 83
Directions Deconstructed 84
Simple, Clear & Concise Directions 85
What Directions Will You Take? 86
Urban Blight & Renewal 87
Related Books 89
Conclusion: What's Next? 90

Related Items

Volume Licensing

Have Any Questions?

Highlights

Expert Videos
Expert Videos: Learn tools & techniques by watching short videos from industry experts. Learn more...
Integrated Forums
Integrated Forums: Ask questions, get expert replies and read fascinating discussions. Learn more...

Includes

  • 4-6 hours of content
  • 90 pages
  • Refactoring Strategies & Tactics
  • 7 Interactive quizzes
  • 20 Videos
  • 5 exercises
  • Support for Visual Studio
  • Support for Eclipse CDT
  • Uses embUnit

Contents

You Are Here 3
Learning to Refactor 4
What Is Refactoring? 6
An Example Refactoring 7
Refactoring Is Revision ← Click to Preview 8
Revision Of The Declaration Of Independence ← Click to Preview 9
What Motivates Us to Refactor? 10
Baby Steps 12
The Hippocratic Oath 13
Refactoring Safely 14
The Rhythm of Refactoring 15
How Would You Refactor This? 16
Two Refactoring Styles 17
Round One 18
Small Steps Quiz 19
Round Two 20
Refactoring Rhythm Quiz 21
When We Say Baby, We Mean Baby 22
Ready For A Challenge? 24
Refactoring a Function ← Click to Preview 25
Finding Refactorings in Code 26
Code Qualities & More Refactorings 27
Finding More Refactorings in Code 28
Automated Refactorings 30
An Exercise To Give You Experience 31
Download the Exercise 32
Exercise Instructions 33
Automated Refactoring Solution 34
Introducing Smellections 36
Refactoring Smellections: Part 1 37
Smells In Collection 38
Two Smells In CommonList and CommonSet 39
Removing A Long Method Smell From List 40
Installing Our Plugin 41
Download the Exercise 42
Refactoring Instructions 43
Smellections Exercise Part 1 Solution 44
Removing Collection 45
Removing CommonList & CommonSet 46
Refactoring to a Composed Method ← Click to Preview 47
Installing Our Plugin 49
Download the Exercise 50
Your Mission 51
Smellections Exercise Part 2 Solution 52
Removing Map from the Hierarchy 53
Refactoring Smellections: Part 3 55
Smells in CommonCollection 56
Don't Fix Bugs 57
Installing Our Plugin 58
Refactoring Instructions 59
Download the Exercise 60
Your Mission 61
Smellections Exercise Part 3 Solution 62
Pulling Up Duplicated List and Set Fields 63
Cleaning Up CommonCollection addAllToCollection 64
Pulling Up Duplication From List and Set 65
Pulling Up Add 66
Removing AddAll from Set 67
Refactoring Rash 69
Strategy: Graceful Retreat 70
Strategy: Gradual Cutover 71
Strategy: Nesting 72
Refactoring Smellections: Part 4 74
Primitive Obsession In Map 75
A Temporary Field In Map 76
Installing Our Plugin 77
Download the Exercise 78
Your Mission 79
Part 4 Solution 80
Experiencing Legacy Code ← Click to Preview 82
Poorly Written Driving Directions 83
Directions Deconstructed 84
Simple, Clear & Concise Directions 85
What Directions Will You Take? 86
Urban Blight & Renewal 87
Related Books 89
Conclusion: What's Next? 90

Related Items