John Baird
Coatesville, Pennsylvanie, États-Unis
Walter Meester
HoogkarspelPays-Bas
>
>Design patterns as described by GOF is to a high level because of working arround problems that have to do with static typing in one way or another. The factory case that Dragan is mentioning in this thread is just an example of it. Virtual classes, parameter overloading etc, are mechanisms that have been invented to keep the compiler happy with compile time type checking. BTW, I've been been teached on this topic. I've used C/C++ and pascal in various flavours before.
>
The only design pattern that VFP is good for is the VB Cut & Paste Code pattern.
Précédent
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement