Making Code Behave

What a lot of people who don’t code don’t realize is that only a small part of the code is actually doing the work, most of the code is checking to see that the code is working/the user didn’t mess things up, and the rest is comments to remind yourself and others how it works.

That being said it is also very nice to be in this situation: I have problem A and a related problem B. I know how to deal with problem A but need clarification on problem B. *Works on Problem A and finds solution* Oh so that is problem B…. the solution to problem A already fixes that.