When I’m not interrupted, I can code effectively for 20 to 30 minutes. However, constant notifications from instant messaging, emails, and meetings disrupt my concentration and make it challenging to finish tasks on time.
I once read an analogy that relates to this situation, stating that just like the value of money remains the same whether you have a $100 bill or in coins, the overall time remains constant even if you have small intervals.
How do I overcome this?
Disable notifications for messages, emails, and meetings when you need to focus.
Coding is both highly creative and technical, and requires a great deal of working memory. Some find the “flow state” to be most productive, and this requires uninterrupted focus. Arrange your day around your tasks rather than trying to cram a few seconds of time “in the zone” between meetings; instead, decline or reschedule the meetings, put on some music - and turn off those notifications.