…h of tools and techniques I would use now that would make the application completely different, but perhaps the biggest change is simply changing from executing a set of steps, one after the other and expecting a certain outcome, to declaring what the UI should look like when the application is in a certain state.
e…. Keeping a bug journal forces you to think a little bit more about the kinds of mistakes you make. If you’re spending time writing down your errors, you’re more likely to have it in the back of your mind that it’s something you may repeat in the future.
Whether you’re debugging, fixing a mistake, or writing a piece of code for the first time, it’s important not to rush. In general, you should write one tiny segment and then test to see if it works. If you write a lot of code without checking any of it and it breaks, the problem could be coming from anywhere. If you keep a calm head and write in a relaxed manner from the start, you’ll make fewer mistakes.