0
Here goes a question, "please, how best can I prevent "Bugs" from my codes?"
4 Respuestas
+ 5
Understand logic and math, not just syntax. Understand the language you're using. Understand that you'll create bugs anyways, so understand how to fix them when they arise. Understand what ChaoticDawg said, and do your code in chunks, testing each chunk before moving on to the next. Understand what Gavin said, use try/catch and other methods of dealing with errors.
+ 4
Try and catch them, literally, using code. Go through the Error Handling subject on your programming language to see how to do it.
+ 3
Write clean code. Test your code often as you write it to make sure that it behaves as expected.
+ 1
🙏🙏🙏🙏👍👍🆗️ all welcomed