Re: Larkin, Power BASIC cannot be THAT good:
- From: Rich Grise <richgrise@xxxxxxxxxxx>
- Date: Thu, 11 Jun 2009 17:48:33 GMT
On Thu, 11 Jun 2009 08:56:10 -0700, Michael wrote:
On Jun 10, 8:07 pm, AZ Nomad <aznoma...@xxxxxxxxxxxxxxxxxxx> wrote:I hope not! I define the constant, then use the label. That way,
I also never use constants like 25480. 24*60*60 is far more readable
and less prone to error. It doesn't take a pico second more to
execute as the calculation is done at compile time, not run time.
Even with an interpreted language, it is only parsed once; if the
language system isn't shit, the calculated value will be saved in the
saved tokenized code.
Funny. I would use the 25480, and put the 24*60*60 in a comment.
Then again, I don't need to write high-performance code.
if it changes, you don't have to track down every instance to
change the hard numbers.
Cheers!
Rich
.
- Follow-Ups:
- Re: Larkin, Power BASIC cannot be THAT good:
- From: Michael
- Re: Larkin, Power BASIC cannot be THAT good:
- References:
- Re: Larkin, Power BASIC cannot be THAT good:
- From: AZ Nomad
- Re: Larkin, Power BASIC cannot be THAT good:
- From: John Larkin
- Re: Larkin, Power BASIC cannot be THAT good:
- From: AZ Nomad
- Re: Larkin, Power BASIC cannot be THAT good:
- From: John Larkin
- Re: Larkin, Power BASIC cannot be THAT good:
- From: John Larkin
- Re: Larkin, Power BASIC cannot be THAT good:
- From: Martin Brown
- Re: Larkin, Power BASIC cannot be THAT good:
- From: John Larkin
- Re: Larkin, Power BASIC cannot be THAT good:
- From: Martin Brown
- Re: Larkin, Power BASIC cannot be THAT good:
- From: Phil Hobbs
- Re: Larkin, Power BASIC cannot be THAT good:
- From: krw
- Re: Larkin, Power BASIC cannot be THAT good:
- From: Phil Hobbs
- Re: Larkin, Power BASIC cannot be THAT good:
- From: Joel Koltner
- Re: Larkin, Power BASIC cannot be THAT good:
- From: AZ Nomad
- Re: Larkin, Power BASIC cannot be THAT good:
- From: Joel Koltner
- Re: Larkin, Power BASIC cannot be THAT good:
- From: AZ Nomad
- Re: Larkin, Power BASIC cannot be THAT good:
- From: Michael
- Re: Larkin, Power BASIC cannot be THAT good:
- Prev by Date: Re: Anodized aluminum panels
- Next by Date: Re: Larkin, Power BASIC cannot be THAT good:
- Previous by thread: Re: Larkin, Power BASIC cannot be THAT good:
- Next by thread: Re: Larkin, Power BASIC cannot be THAT good:
- Index(es):
Relevant Pages
|