Archive for September, 2011
In programming and in the life of every problem has at least two, three. How to solve a problem? One of the most effective ways is to take a piece of paper and write the problem as a question. Why my script does return an invalid value? Brainstorm possible solutions: 1) Active (more detailed) logging (PHP, server, etc.) for more details. 2) Put the code in the debugger By asking these questions in your mind begins to search for answers. When the resolution of a problem, we are looking for developers to put a hat, because we have to find a suspect that the cause of the problem. Paying attention to emotions During troubleshooting, you should be aware of the feelings you have. When you are angry, it simply reduces the efficiency of your problem solving skills. It ‘much more effective to stop an hour to solve the problems and then take a walk, drink water / coffee / tea or a chat with colleagues (or check Facebook). You will feel more refreshed and ready to attack the problem again, but this time from a different angle. It ‘very hard when you try to solve a difficult problem as one of continuous attempts. Make sure you drink plenty of water. Taking a break from drinking water and several solutions are presented. Solution Sometimes you have to be OK with an option of solution because it * more correct solution can take as much time and version information may be delayed. The conclusion is that the task of developers is not easy but if you have the right, mindset of the whole, experience can lead to growth. How? There will be occasions when some bugs appear at random times. For you to be healthy and live long you need to develop an unlimited amount of patience.