├── .gitignore ├── Examples ├── __init__.py ├── enums.py ├── example_0_review.py ├── example_10_inheritance.py ├── example_11_args_kwargs.py ├── example_12_inheritance_with_abc.py ├── example_13_dataclasses.py ├── example_14_mixins.py ├── example_1_bike_without_classes.py ├── example_2_using_classes.py ├── example_3_class_stub.py ├── example_4_attributes.py ├── example_5_methods.py ├── example_6_dunder_methods.py ├── example_7_class_attributes.py ├── example_8_decorators.py └── example_9_getters_setters.py ├── README.md ├── Refactoring ├── refactoring_1_procedural.py ├── refactoring_2_dry.py ├── refactoring_3_abstraction.py ├── refactoring_4_encapsulation │ ├── game.py │ ├── main.py │ └── player.py └── refactoring_5_inheritance │ ├── game.py │ ├── main.py │ └── player.py ├── bike_example.py ├── classes.py ├── docs └── PATH_LOCATIONS.md ├── game_refactoring.py └── slides.pdf /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ariannedee/oop-python/HEAD/.gitignore -------------------------------------------------------------------------------- /Examples/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /Examples/enums.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ariannedee/oop-python/HEAD/Examples/enums.py -------------------------------------------------------------------------------- /Examples/example_0_review.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ariannedee/oop-python/HEAD/Examples/example_0_review.py -------------------------------------------------------------------------------- /Examples/example_10_inheritance.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ariannedee/oop-python/HEAD/Examples/example_10_inheritance.py -------------------------------------------------------------------------------- /Examples/example_11_args_kwargs.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ariannedee/oop-python/HEAD/Examples/example_11_args_kwargs.py -------------------------------------------------------------------------------- /Examples/example_12_inheritance_with_abc.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ariannedee/oop-python/HEAD/Examples/example_12_inheritance_with_abc.py -------------------------------------------------------------------------------- /Examples/example_13_dataclasses.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ariannedee/oop-python/HEAD/Examples/example_13_dataclasses.py -------------------------------------------------------------------------------- /Examples/example_14_mixins.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ariannedee/oop-python/HEAD/Examples/example_14_mixins.py -------------------------------------------------------------------------------- /Examples/example_1_bike_without_classes.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ariannedee/oop-python/HEAD/Examples/example_1_bike_without_classes.py -------------------------------------------------------------------------------- /Examples/example_2_using_classes.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ariannedee/oop-python/HEAD/Examples/example_2_using_classes.py -------------------------------------------------------------------------------- /Examples/example_3_class_stub.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ariannedee/oop-python/HEAD/Examples/example_3_class_stub.py -------------------------------------------------------------------------------- /Examples/example_4_attributes.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ariannedee/oop-python/HEAD/Examples/example_4_attributes.py -------------------------------------------------------------------------------- /Examples/example_5_methods.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ariannedee/oop-python/HEAD/Examples/example_5_methods.py -------------------------------------------------------------------------------- /Examples/example_6_dunder_methods.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ariannedee/oop-python/HEAD/Examples/example_6_dunder_methods.py -------------------------------------------------------------------------------- /Examples/example_7_class_attributes.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ariannedee/oop-python/HEAD/Examples/example_7_class_attributes.py -------------------------------------------------------------------------------- /Examples/example_8_decorators.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ariannedee/oop-python/HEAD/Examples/example_8_decorators.py -------------------------------------------------------------------------------- /Examples/example_9_getters_setters.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ariannedee/oop-python/HEAD/Examples/example_9_getters_setters.py -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ariannedee/oop-python/HEAD/README.md -------------------------------------------------------------------------------- /Refactoring/refactoring_1_procedural.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ariannedee/oop-python/HEAD/Refactoring/refactoring_1_procedural.py -------------------------------------------------------------------------------- /Refactoring/refactoring_2_dry.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ariannedee/oop-python/HEAD/Refactoring/refactoring_2_dry.py -------------------------------------------------------------------------------- /Refactoring/refactoring_3_abstraction.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ariannedee/oop-python/HEAD/Refactoring/refactoring_3_abstraction.py -------------------------------------------------------------------------------- /Refactoring/refactoring_4_encapsulation/game.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ariannedee/oop-python/HEAD/Refactoring/refactoring_4_encapsulation/game.py -------------------------------------------------------------------------------- /Refactoring/refactoring_4_encapsulation/main.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ariannedee/oop-python/HEAD/Refactoring/refactoring_4_encapsulation/main.py -------------------------------------------------------------------------------- /Refactoring/refactoring_4_encapsulation/player.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ariannedee/oop-python/HEAD/Refactoring/refactoring_4_encapsulation/player.py -------------------------------------------------------------------------------- /Refactoring/refactoring_5_inheritance/game.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ariannedee/oop-python/HEAD/Refactoring/refactoring_5_inheritance/game.py -------------------------------------------------------------------------------- /Refactoring/refactoring_5_inheritance/main.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ariannedee/oop-python/HEAD/Refactoring/refactoring_5_inheritance/main.py -------------------------------------------------------------------------------- /Refactoring/refactoring_5_inheritance/player.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ariannedee/oop-python/HEAD/Refactoring/refactoring_5_inheritance/player.py -------------------------------------------------------------------------------- /bike_example.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /classes.py: -------------------------------------------------------------------------------- 1 | """ 2 | Scratch file for testing concepts 3 | """ 4 | -------------------------------------------------------------------------------- /docs/PATH_LOCATIONS.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ariannedee/oop-python/HEAD/docs/PATH_LOCATIONS.md -------------------------------------------------------------------------------- /game_refactoring.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ariannedee/oop-python/HEAD/game_refactoring.py -------------------------------------------------------------------------------- /slides.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ariannedee/oop-python/HEAD/slides.pdf --------------------------------------------------------------------------------