Programmers Stack Exchange is a question and answer site for professional programmers interested in conceptual questions about software development. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

My boss has always told me that a good programmer should be able to ensure that the code he or she changes is reliable, correct, and thoroughly self-verified; that you should completely understand all the results and impacts your changes will cause. I have tried my best to be this kind of programmer—by testing again and again—but bugs are still there.

How can I be a zero-bug programmer and know what every character of my code will cause and affect?

share|improve this question

closed as not constructive by gnat, Walter, Matthieu, Dynamic, Yusubov Sep 20 '12 at 11:16

As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.If this question can be reworded to fit the rules in the help center, please edit the question.

Nobody actually creates perfect code the first time around, except me. But there's only one of me. ― Tech Talk: Linus Torvalds on git, Google, 15 August 2007 – JensG Feb 7 '14 at 20:15
There is no such thing as 0-bug programming. Read mathematician Godel to understand why. – Michael Martinez Aug 14 '15 at 21:50

28 Answers 28

Not the answer you're looking for? Browse other questions tagged or ask your own question.