DEV Community

Cover image for Day 23 of Documenting my learning journey
James Kabuga
James Kabuga

Posted on

Day 23 of Documenting my learning journey

What I learnt Today

1.How to write clean and modular code.

On what I learnt Today

Modularity is the process of breaking a large program into small parts.

Each small part(sub-program) performs a certain action.

Modularity in this case will be achieved by using functions.

As we had said earlier each function performs a certain function.
So we can create multiple python scripts and each script has a one function that does a certain action.
In one python script like main.py we import our modules(utility functions)

Writing clean and modular code is advaisable since its easy to maintain.

Resources I used

  1. Python refresher series by Bonaventure Ogeto
  2. Github for documentation of my python learning journey by pushing to public repo python-concepts.

What's Next

I'll do the final week project. A CLI To-Do list application

Top comments (0)