Back to Browse

Python Refactoring Exercise: Improving Memory Game Code

128 views
Jan 18, 2022
11:07

I refactor my memory game’s Python code. There are if expressions, lists, sets, type hints, and an “extract method” refactoring. I reduced the number of lines of code, and made it more readable. The commit: https://github.com/dcbriccetti/python-lessons/commit/adea4e6ad8d971b0ec0f6ccf01c55a7c81a1e019

Download

0 formats

No download links available.

Python Refactoring Exercise: Improving Memory Game Code | NatokHD