In this Refactoring Code video we take a look at some Python code I saw on Twitter. We'll refactor a Profile class from Java-style code into Pythonic code.
When you're refactoring Python code something important to remember is that you're not only simplifying and reducing complexity, but often you'll want to completely rewrite some parts of the code to use Python features—such as the @property decorator.
A great video to watch for more refactoring ideas and how to write Pythonic code is this one, "Beyond PEP8 -- Best practices for beautiful intelligible code": • Raymond Hettinger - Beyond PEP 8 -- B...
-- Links --
✅Subscribe to the channel: https://www.youtube.com/tecladocode?s...
✅Twitter: / tecladocode
✅Instagram: / tecladocode
✅Facebook: / tecladocode
✅Our Complete Python Course that takes you from beginner to expert in Python: https://www.udemy.com/the-complete-py...
Watch video Refactoring Python Code: Profile Class online without registration, duration hours minute second in high quality. This video was added by user teclado 03 August 2019, don't forget to share it with your friends and acquaintances, it has been viewed on our site 4,128 once and liked it 98 people.