Skip to content

edison4354/ACS-4931-Refactoring-Composing-Methods-More

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Refactoring: Composing Methods

In this series of exercises, we practice various refactoring techniques. You may want to run pylint on this script to find any pep8 compliance issues. Fix as much as issues you can.

TODO

  • Exercise 7: 'Split Temporary Variable' Technique

    • Study the files burger_toppings.py and use split temporary variable technique to clarify the code (make it easier to understand its intent.)
  • Exercise 8: 'Remove Assignment to Method Parameter' Technique

    • Study the file kinetic_energy.py. Use remove assignment to method parameter technique to prevent future mistakes/bugs.
  • Exercise 9: 'Rename Method' Technique

    • Study the file calculate_area.py. Use rename method technique to clarify the code (make it easier to understand its intent.)
  • Exercise 10: 'Split Temporary Variable' Technique

    • Study the file kinetic_energy.py. Use split temporary variable technique to clarify the code (make it easier to understand its intent.)

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages