<commit_before># Reading:

https://github.com/rmsadik/x/blob/master/CleanCode/Clean%20Code.pdf
Clean code:
    - page 31-37 (up to switch statement)
    - 39-47 (starting from Use Descriptive Names, to Error.java)
    - 49 (just Conclusion)
It's written for java but most of the principles apply to python, and is the best treatment of the subject I've seen.
*I'm recommending this reading because I think it's very valuable*


# Class

## in the beginning there was *GOTO*
 - and it made spaghetti code
 - no way to tell which variables it was affecting
 - start/ends are really unclear
 - code was really confusing
<commit_msg>Update FunctionalPython.md<commit_after># Reading:

https://github.com/rmsadik/x/blob/master/CleanCode/Clean%20Code.pdf
Clean code:

 - page 31-37 (up to switch statement)
 - 39-47 (starting from Use Descriptive Names, to Error.java)
 - 49 (just Conclusion)

It's written for java but most of the principles apply to python, and is the best treatment of the subject I've seen.

*I'm recommending this reading because I think it's very valuable*
*Do this before or after class*


# Class

## in the beginning there was *GOTO*
 - and it made spaghetti code
 - no way to tell which variables it was affecting
 - start/ends are really unclear
 - code was really confusing

{'fraction_non_alphanumeric': 0.07787201233616037, 'fraction_numerical': 0.018504240555127217, 'mean_word_length': 3.7896678966789668, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4594834', 'n_tokens_mistral': 410, 'n_tokens_neox': 364, 'n_words': 173}