Fixing Long Functions With The Extract Function Refactoring

Опубликовано: 01 Октябрь 2024
на канале: PHP Developers TV
231
5

In this video, we're going to discuss what the extract function refactor is, what code smells are an indication to use it, and then work through an example in PHP.

Links
1. Refactoring Book - amazon.com/Refactoring-Improving-Existing-Addison-Wesley-Signature/dp/0134757599/

Looking to hire a PHP developer? Check out LaraJobs: https://larajobs.com/?via=e70744

Follow us:
  / phpdevstv  
  / phpdevstv  
  / phpdevstv  
  / phpdeveloperstv  


Icons made by Freepik from www.flaticon.com

00:00 Intro
00:41 Code Smell
01:33 What Is the Extract Function Code Refactoring?
02:00 Example
03:25 What You Need To Know
03:16 Outro