filmov
tv
Keep a Class From Knowing Too Much | Refactoring With PhpStorm by Matthew Setter #6

Показать описание
In this video, you'll learn how to extract code to interfaces and how to create dedicated classes to keep classes from knowing too much. This video completes the series with three final key lessons:
1. Extract applicable variables, constants, and methods to a new class
2. Extract key methods to an interface
3. Refactor ParcelTrackerHandler to take a ParcelTrackingService object
#PHP #PhpStorm #Refactoring #CleanCode
00:00 - Overview
00:51 - Code overview
01:06 - Extract class refactoring
03:39 - Introduce constructor dependency with Change Signature refactoring
04:35 - Extract interface refactoring
06:09 - Pull members up to a base class
07:38 - Quick recap
08:11 - Series Conclusion
1. Extract applicable variables, constants, and methods to a new class
2. Extract key methods to an interface
3. Refactor ParcelTrackerHandler to take a ParcelTrackingService object
#PHP #PhpStorm #Refactoring #CleanCode
00:00 - Overview
00:51 - Code overview
01:06 - Extract class refactoring
03:39 - Introduce constructor dependency with Change Signature refactoring
04:35 - Extract interface refactoring
06:09 - Pull members up to a base class
07:38 - Quick recap
08:11 - Series Conclusion
How to Make Your Classes Go By Faster
How to Get Better Grades Without Studying More
A Technique to Memorize Anything
If studying is boring, you’re doing it wrong
How to Do Better in School
Do This the Next Time You’re Studying
Use This Study Technique
Use This Test-Taking Strategy
MPC 003 Block 2 unit 1 : Class 13 for IGNOU MA Psychology | Personality Theories
How to Get On Your Teacher’s Good Side
Why There Is No 'E' Grade 🤔 (EXPLAINED)
A Clever Way to Study for Exams
How to Feel Less Tired in Class
Do This Before College
What to Do if You Didn’t Study
How to Memorize Anything
How to Quickly Raise Your Grades
CLASSES I COULD NEVER TEACH!!! #teacher #education #shorts #thegreatestshowman
How to Improve Your Grade in History Class
Memorize Anything by Using the Active Recall Technique
Why Asians are so Good at Math...🤓#shorts
How to Finish Your Homework Faster
Try This Note-Taking Method
Unspoken Rules of a Middle Schooler: Rule 2 #middleschool #teacher #teacherlife #classroom #pencil
Комментарии