Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Onion Pattern
Message
De
17/10/2017 21:39:11
 
 
À
16/10/2017 15:21:30
Dragan Nedeljkovich (En ligne)
Now officially retired
Zrenjanin, Serbia
Information générale
Forum:
Visual FoxPro
Catégorie:
Programmation Orientée Object
Titre:
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows 7
Network:
Windows Server 2012
Database:
Visual FoxPro
Application:
Desktop
Divers
Thread ID:
01655029
Message ID:
01655065
Vues:
53
>>>>You always have to figure out how someone else's code works. Better to replace old code with your new code, especially if it involves new and better practices. Think of it this way - you have a working 1965 Chevy Impala. Part of it is rusting badly. What you do is cut out the rusting part and replace that with new metal. It's a patchwork, but it's a patch that actually solved the underlying problem. You do not cover it up - onion anti-pattern. Patchwork is a bad approach if you put new metal in the midst of the rusting metal. The new patch will fall off if it sticks at all.
>>>
>>>I'm getting the impression we're the unfashionable dinosaurs here. The new approach would be to goldplate the old metal.
>>>
>>>And we're too old to think of something so ingenious and simple.
>>
>>You can't gold-plate rust.
>>Or in this case, maybe we are trying to gold-plate mud?
>
>http://ndragan.com/pv/captain.html

You win, I can't top that!
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform