Forgot your password?
typodupeerror

Comment Programming. (Score 1) 674

I dont want to read the 2000 posts above me. so comeon flame me :P. How you prevent errors have alot to do with the Programming language your useing. (newer heard about CS, is it C?) When programming in Visual Basic, here is some guidelinies. 1) Use Option Explicit. 2) If you use "On error resume next" then you have to check the Err object after every line,(Inline errorhandling). 3)And yes check for Division by zero (error-code 11) 4) Comment, other people may have to work with your code after you. 5) Generaly Always asume the user for an ediot. Always Validate ALL Input. 6) Test your product before releasing it, We are only Human, we do make mistakes. You can newer protect yourself 100% against errors. New bugs will most likely be fund months, even years after the software have been released. (Ofcouse depends of the size of the product.) Hope you can use this to something.

Slashdot Top Deals

"Falling in love makes smoking pot all day look like the ultimate in restraint." -- Dave Sim, author of Cerebrus.

Working...