Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Control for spinner for time (not timer)
Message
From
09/04/2015 06:40:49
Lutz Scheffler
Lutz Scheffler Software Ingenieurbüro
Dresden, Germany
 
 
To
09/04/2015 06:34:53
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows Server 2012
Network:
Windows 2008 Server
Database:
Visual FoxPro
Application:
Desktop
Miscellaneous
Thread ID:
01617987
Message ID:
01618064
Views:
52
>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]
Previous
Reply
Map
View

Click here to load this message in the networking platform