Single Responsibility Principle in Life
There is a fairly common occurring in my life where, when I have a lot on my plate, I loose my appetite. Somehow my brain resigns on seeing so many tasks and I end up doing absolutely nothing(nothing here is equivalent to youtube, facebook, twitter, movies, games, TV seasons).
My brain, it seems, is not very good at multitasking and I am not alone. As per this article, only 2% of humans multitask effectively. Thats not a lot. Although I believe evolution is going to solve this problem sooner than later, but for now we may have to live with this.
I thought of writing this, after failing to complete my tasks for four days now and after watching Friends season 9, again.
In my quest to solve this problem, I thought of The Single Responsibility Principle which is very simple to understand and very wildly used in software development. The principle states “a class should have only one responsibility and only one reason to change”. It helps software developers in resolving dependencies, avoids complex architecture, makes a class/component reusable, etc.
I believe this principle can be used to solve my problem(of procastrination) as well.
- Define a time block of any duration — an hour, two hours, a day, a week, etc.
- Sets the particular time block for doing only one task.
There may be some discrepancy in time allotted versus the task assessment, but I am sure we can become better with time and practice. More importantly, it will improve our focus and the task in hand will see its completion to the best of one’s ability.
I love how writing code with this principle makes testing easy. Similarly, we can test and evaluate its success after completion every task as I am going to do now.