Question about checks for min and max values
Christopher Yerry
christopheryerry at yahoo.com
Tue Jul 26 10:01:14 PDT 2005
>> You think "" eq "0" is bad? You should have heard me when I first
>> discovered
>> that "abcdefg" eq "abc" !
>> But even that is perfectly OK and logical and useful (actually _very_
>> useful) and doesn't get in the way or cause any problems as long as you
>> know
>> about it.
>
> It may be useful, but I continue to assert that it is neither logical,
> nor OK.
>
> The semantics of "=" are *very* well defined in the discipline of
> programming language design, and language designers override them at
> their peril. Spelling it differently (ie: "eq") doesn't *really* get
> you off the hook.
>
> IMHO.
>Didn't Nancy once point out that in truth, filepro was around before most of
>these other languages and there was no such standard at the time fp was
>created, and in fact filepro's behavior adheres to the standards of basic
>math and logic which were worked out looooong before annnnnnny programming
>language? And it's most current programming languages that deviate?
I don't know what Nancy Said (Although I doubt she said this). I have been coding since the early
70's (1973 Digital pdp8 os/8 with massive a 128k that filled a cabinet). And we used "=". filePro
was out in the trs80's in 1976 - 1977 ? That date is after 1973, (OS/8 Basic (ITT Teletypes),
FORTRAN, (pascal and COBOL -IBM 36 on punch cards!!!)). These all had "=". C (and B )had ":=" or
"==" - still does; C# retained this too. So the "That's how it used to be doesn't fly".
Additionally filePro was written in "C" or "B" as far as I have been told. That standard is "==".
Christopher Yerry
CM Software
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
More information about the Filepro-list
mailing list