Tick Tock Tick Tock....

Timer100?

Tuesday, August 15, 2006 by Cyberium | Discussion: DesktopX

Ok, I don't know if anyone has realised this or not but... The DesktopX Guide by Stardock displays Timers with 3 digits at the end as identifiers.. So everyone sets Timers as Timer100, Timer200 etc etc.. Me? Nope I've used Timer1, Timer2, Timer3, etc etc and I've had no problems. So less typing for you. Just something to bring to your attention if you hadn't realised already.
SirSmiley
Reply #1 Tuesday, August 15, 2006 8:33 PM


Simple naming conventions. If you're running more than ten timers then it may be an issue.
Cyberium
Reply #2 Wednesday, August 16, 2006 5:20 AM
I can't imagine a scenario that would involve 10 timers for a single object hehe.. I might do that just to see what happened....
sViz
Reply #3 Thursday, August 17, 2006 12:11 PM
I used to do the 100, 200, 300 thing. Until I realized that not everything in the example scripts have to be used 'as is'. Every now and then I might use Timer123, though. 
Garibaldi99
Reply #4 Thursday, August 17, 2006 3:56 PM
I have been a programmer for over 25years and the 100, 200, 300 convention is as old as subroutines!
And I've had many occasions where it wasn't enough, in fact, we started using 1000,2000,3000 back in the '80s.
Course nowadays most languages allow proper names for subs with colons on the end...
Cyberium
Reply #5 Saturday, August 19, 2006 11:42 AM
You, Garibaldi, have been programming longer than I've lived! (hehe How old must you feel now..) How old are Sub rountines? 30 years?
drej16
Reply #6 Sunday, August 20, 2006 6:13 PM
we started using 1000,2000,3000 back in the '80s.
Course nowadays most languages allow proper names for subs with colons on the end


I do not remember Machine code, Assembler, FORTRAN, Cobol or LISP using or allowing any numbered lines, I though those came about with spaghetti coded Basic.
Garibaldi99
Reply #7 Monday, August 21, 2006 3:24 AM
Thanks Cyberium - I feel truly ancient now !
drej16 - I've never used a language with numbered lines (except Sinclair ZX BASIC!) but numeric labels used to be de rigeur even in some Assemblers (BLZ 100), RPL (G100) and even in things like JCL.
Never used COBOL, FORTRAN or LISP but from what I hear I had a lucky escape!
Even the early BASICs I used insisted on numeric labels, though.
drej16
Reply #8 Monday, August 21, 2006 8:55 PM
Garibaldi99 You are truely lucky to have missed COBOL, FORTRAN and LISP, they can be a real nightmare. Especially when debugging but hey at least I missed punchcards!

Please login to comment and/or vote for this skin.

Welcome Guest! Please take the time to register with us.
There are many great features available to you once you register, including:

  • Richer content, access to many features that are disabled for guests like commenting on the forums and downloading skins.
  • Access to a great community, with a massive database of many, many areas of interest.
  • Access to contests & subscription offers like exclusive emails.
  • It's simple, and FREE!



web-wc01