Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
The impossible scenario
Message
De
09/11/2018 10:55:47
 
 
À
09/11/2018 10:44:15
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
01663240
Message ID:
01663255
Vues:
61
>
>I already said in my original post that I always code for the impossible scenario using a type of silentError() function. My question was on other people's opinions, because I've known excellent coders who held opinions on both sides. It depends on their philosophy of software. At what point do you cease assertion testing? Do you go back up and make sure that "abc" + "def" is exactly equal to "abcdef"? What if there's an error in the concatenation algorithm on a machine?
>

On a question of an error in the concatenation algorithm, that is actually a valid question.

Once again, the principles of data warehousing can help here. Data Profiling of result sets - if someone is concerned about errors in fundamental software string handling functions, then set up a profile test.

Again, good question - and there are ways to do "due diligence" to address it.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform