-
Notifications
You must be signed in to change notification settings - Fork 1
Debugging
Bram Cohen, the creator of BitTorrent wrote, "90% of coding is debugging. The other 10% is writing bugs". Even amongst Computer Science college students, there is the belief that encountering bugs in the coding process is inevitable. I just have a simple suggestion; get good.
There is nothing inherent with coding that creates bugs. Computers do exactly what you tell it to do. My biggest recommendation to preventing bugs is to actually take out a sheet of paper and write down a roadmap of the logic you want your program to follow. You can then break down the problem into easy, bite-sized chunks.
Python also has some tools that help you determine exactly what your program is doing and where it is going awry. We will be exploring those tools and they may hopefully help you The earlier you catch bugs, the easier they will be to fix.