Hi, Carl,

Carl Read wrote:
> 
> I think we need it, but not so much because it'd be easier (perhaps)
> for programming, but because it's more descriptive.  For instance, we
> know what this means...
> 
>     prompt-payment-discount: $5.25
> 
> but does this...
> 
>     prompt-payment-discount: 5.25
> 
> mean money or percent?
> 
> If it was this though...
> 
>     prompt-payment-discount: 5.25%
> 
> we would know.
> 

That's what comments (or descriptive names) are for.

    prompt-payment-discount-percent: 5.25
    prompt-payment-discount-factor:  1.0 - (5.25 * 0.01)

or

    prompt-payment-discount: 0.0525  ;; 5 1/4 percent

IMHO.

-jn-


-- 
; Joel Neely                             joeldotneelyatfedexdotcom
REBOL [] do [ do func [s] [ foreach [a b] s [prin b] ] sort/skip
do function [s] [t] [ t: "" foreach [a b] s [repend t [b a]] t ] {
| e s m!zauafBpcvekexEohthjJakwLrngohOqrlryRnsctdtiub} 2 ]
-- 
To unsubscribe from this list, please send an email to
[EMAIL PROTECTED] with "unsubscribe" in the 
subject, without the quotes.

Reply via email to