Refactoring Python Code: Profile Class

Опубликовано: 03 Август 2019
на канале: teclado
4,128
98

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...


Смотрите видео Refactoring Python Code: Profile Class онлайн без регистрации, длительностью часов минут секунд в хорошем качестве. Это видео добавил пользователь teclado 03 Август 2019, не забудьте поделиться им ссылкой с друзьями и знакомыми, на нашем сайте его посмотрели 4,128 раз и оно понравилось 98 людям.