Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Code Magazine Article
Message
Information générale
Forum:
Business
Catégorie:
Rédaction technique
Titre:
Code Magazine Article
Divers
Thread ID:
01449911
Message ID:
01449911
Vues:
107
Paul Sheriff wrote in his article

"Testing often helps you improve the quality of your code. As you think about the various scenerios that can go
wrong, you start to add addition code to handle these scenerios. This leads to your code being more robust
and more maintainable and user friendly".

I disagree. You can't code for every conceivable issue that might arise, Trying to do so leads to your code being
more bloated and far less maintainable.

He also listed automaated testing as one possible alternative. I worked for a company that insisited that automated testing
was the key, We spent more time writing test than we did coding. What's to say the test drivers are correct?

IMHO, and my 25 years of coding experience, unti testing is key. Write small modules that do one thing, and one thing only,
the test them to ensure they do what they were designed to do. Add them to larger pieces, then that that to ensure everything
plays well togethere. Continue until the product is done.

I'm curious about other opinions and what other techniques you guys use.
Everything makes sense in someone's mind
public class SystemCrasher :ICrashable
In addition, an integer field is not for irrational people
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform