In this video you'll learn how to use the Introduce Method refactoring and the Introduce Constant refactoring.
Download PhpStorm: https://jetbrains.com/phpstorm/download
Twitter: / phpstorm
Facebook: / jetbrains
Matthew Setter: https://matthewsetter.com/
#PHP #PhpStorm #Refactoring #CleanCode
00:00 - Overview
00:43 - Problematic code
01:48 - Refactor 1: extract method
03:12 - Improve the validation of `isValidParcelld`
03:50 - Refactor 2: introduce constant
04:54 - Refactor 3: extract the call to file_exists to a method
05:33 - Improve isValidParcelFilename
05:53 - Quick recap
06:55 - Coming up next
Смотрите видео Reduce Semantic Load by Streamlining Conditionals | Refactoring With PhpStorm by Matthew Setter #3 онлайн без регистрации, длительностью часов минут секунд в хорошем качестве. Это видео добавил пользователь JetBrains 27 Август 2021, не забудьте поделиться им ссылкой с друзьями и знакомыми, на нашем сайте его посмотрели 862 раз и оно понравилось 24 людям.