Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Control for spinner for time (not timer)
Message
De
09/04/2015 06:40:49
Lutz Scheffler
Lutz Scheffler Software Ingenieurbüro
Dresden, Allemagne
 
 
À
09/04/2015 06:34:53
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows Server 2012
Network:
Windows 2008 Server
Database:
Visual FoxPro
Application:
Desktop
Divers
Thread ID:
01617987
Message ID:
01618064
Vues:
50
>There is a lot of IF in the code to form a ring. Typical codemonkey approach. :)
>
>It is certainly a whole lot easier to refactor some code monkey's algorithm that writing your own from scratch.

It is so much more fun (satisfactory) to have a fancy algorithm that is more complicated by a magnitude of 2 then code monkeys way.

;)

It was more a hint to think outside the typical if-then-else thing. (On this I value a degree in informatic sience I do not own.)

Update:

It's more a problem with the lang I'm working today. It's a graphical approach and every IF statement is very large and a single case will fill more then two screens. I do stuff like forming a ring and with modulo it's just a single (or to be exact three blocks since I run between 1 and limit) block. Much much better.
Words are given to man to enable him to conceal his true feelings.
Charles Maurice de Talleyrand-Périgord

Weeks of programming can save you hours of planning.

Off

There is no place like [::1]
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform