Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Thundering Train Programming
Message
De
19/01/2006 16:06:09
 
 
À
19/01/2006 12:14:26
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
01088463
Message ID:
01088639
Vues:
18
>Peter,
>
>If that was ALL the code it would be very bad indeed.
>But if it was deeper in some process it is of course legitimate to presume that any required editing (called validation today) has been done and dealt with.

Okay, so, you agree that the train driver need not check time and again whether there is rails ahead indeed, but you plea that he should check their existence upon start of the journey?

I don't see the advantage. Suppose an application really needs employee.dbf and that table is wiped out by some stupid user. What's bad about an app that therefore crashes (yes, crashes) on startup?

>Two comments about the concept:
>
>1) I've heard of (but never seen) a manager seeing a prototype, which is normally written using this "concept" saying 'that's good enough as-is. Put it into production'.

Poor manager, possibly even literally poor.

>2) A high percentage of programming involves editing (now called validation) of input. One could surely cut programming time dramatically using this 'technique' but I dare say users would tar-and-feather him pretty soon.

To be clear about it, I'm not advocating Thundering Train Programming as THE technique for whole applications. But I have the feeling that certain, as such identified, parts of applications can be safely done using this technique. A crash in such a part is, well, an error message and eventually some data damage. The data and the code will need some repair indeed. But is that really always a bad thing?
Groet,
Peter de Valença

Constructive frustration is the breeding ground of genius.
If there’s no willingness to moderate for the sake of good debate, then I have no willingness to debate at all.
Let's develop superb standards that will end the holy wars.
"There are three types of people: Alphas and Betas", said the beta decisively.
If you find this message rude or offensive or stupid, please take a step away from the keyboard and try to think calmly about an eventual a possible alternative explanation of my message.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform