Last active
September 1, 2022 10:27
-
-
Save senpl/fff82c0fd0beee66d410480d55e42bcc to your computer and use it in GitHub Desktop.
Dzielenie programu na funkcje
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Kożystając z zasad czystego kodu (https://www.freecodecamp.org/news/clean-coding-for-beginners/ https://workat.tech/machine-coding/tutorial/introduction-clean-code-software-design-principles-nwu4qqc63e09) weź napisany przez siebie kod i przeprowadź optymalizacje | |
Niech cały kod znajduje się w funkcjach | |
Niech funkcje nie są dłuższe niż 9 linijek. | |
Następnie niech funkcje nie będą dłuższe niż 4 linijki. | |
Dodaj jeden główny test, który sprawdza, że twój kod działa. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment