Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Thundering Train Programming
Message
De
20/01/2006 12:09:31
 
 
À
20/01/2006 09:57:23
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
01088463
Message ID:
01088931
Vues:
22
>Peter,
> Do you actually employ this technique? If so are you still working as a developer? This style of programming has been around for years, it is usually employed by very junior developers and was referred to as poor programming. If you are employing this technique I truly feel for the person that gets stuck maintaining one of your applications.

Brian,

It is a pity that you removed all text that you are reacting on. Let me re-insert a piece of text from the post you reacted on:
As I see it, Thundering Train Programming is a legitimate technique, at least for parts of an application, if it is based on a functional design that says that certain conditions will always be true.

I think that, if we look at the details of our applications, we all apply this technique to a certain degree at places, probably without being aware of it or having had a name for it.

I also think all who are replying with words like "that's bad programming" do not fully understand the psychological aspects that are involved in programming. The counterpart of Thundering Train Programming may well be a defensive programming style that is the result of fear, fear of being blamed for every flaw in the appplication. The programmer will therefore spend precious time on programming many checks and double-checks that will always (yes, litterally always) gonna evaluate to the same result.

When applied to the right parts of an application Thundering Train Programming is legitimate and probably even superior, as I see it. What parts? While being in the station, the train personnel must be cautious, because the users can show varying behavior. When leaving the station the train driver can increase speed and needs not check whether or not there are actually rails. No, the rails will be supposed to be there, simple. Upon entering the next station, cautious behavior is required again. Regard at least the user input windows as stations.
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