[Info-vax] DCL's flaws (both scripting and UI)

David Froble davef at tsoft-inc.com
Sat Jan 31 17:53:42 EST 2015


Simon Clubley wrote:
> On 2015-01-30, Paul Sture <nospam at sture.ch> wrote:
>> On 2015-01-30, Stephen Hoffman <seaohveh at hoffmanlabs.invalid> wrote:
>>> On 2015-01-30 13:32:15 +0000, Simon Clubley said:
>>>
>>>> I also remember been surprised at one or two other things Javascript 
>>>> did but I don't remember the details.
>>> <https://www.destroyallsoftware.com/talks/wat>
>>> Starts out with Ruby, but then heads deep into Javascript.
>> Nice one, thanks.
>>
> 
> I didn't know any of those, but with my new more detailed Javascript
> knowledge I am now not surprised one little bit.
> 
>> "When You Can't Count On Your Numbers"
>>
>> <http://yuiblog.com/blog/2009/03/10/when-you-cant-count-on-your-numbers/>
>>
>> Sorry I came up with the suggestion :-(
>>
> 
> In fairness to Javascript, while it's a problem within Javascript, it's
> not a Javascript specific problem.
> 
> If I had my way, all languages would either outright ban equality testing
> of two floating point numbers or would require the programmer to state at
> some point within the source code what the acceptable delta is between two
> floating point numbers before they are no longer considered to be equal.
> 
> The compiler would then generate code which would check if the two
> floating point numbers fell within this delta range instead of just
> comparing two variables for equality.
> 
> Simon.
> 

I don't know what the problem is.  This issue was solved over 40 years ago.

Oh, wait ....

That makes it "legacy" stuff.  No, no, can't have anything to do with 
"legacy" stuff ....



More information about the Info-vax mailing list