Chapter four starts off by telling you to never code when you are tired. Coding is difficult and if you are not focused, your best work will not be done. It then tells you to find a way not to think about personal things that are worrying you. This comes back to the same principle: if you are distracted, you can’t code well. The chapter then talks about “the zone.” I have coded in the zone and it does put out code faster but the chapter says that while you may be coding faster, you may not be coding better. It then talks about music and how it can help some people but it hinders most. I do like to listen to music when I code because it helps me shut out the world. However, as the chapter states, this may just be putting me in the zone, which is where I don’t want to be. The chapter talks bout working in pairs to solve most of the issues one may have with coding. You won’t enter the zone, if you are stuck they can help, and they can stay on task while you help someone else. You need to prepare your mind and body to write code. You need to be well rested and disengaged from your problems. You also need to know when to take a break from your code and re-energize. Following these steps will help you write better code while also giving you better estimates on how fast you can write code.
From the blog chanson2016 by chanson2016 and used with permission of the author. All other rights reserved by the author.