Programming using "Prior Knowledge"

On Oct 5, 2013 10:14 AM, “Admin T.” [email protected] wrote:

Matthew K. wrote in post #1123562:


The difference for 51! and fib(50) was, as you’d expect, negligible.

I think this shows why in some other languages, they don’t bother with
Array.

Because one array-based implementation behaved the same as another?

Sent from my phone, so excuse the typos.

Matthew K. wrote in post #1123568:

Because one array-based implementation behaved the same as another?

In JavaScript they have only one hash-based implementation. I did not
do extensive comparison whether JavaScript “hash” (if it behaves like a
hash they call it an Object and if it behaves like an array they call it
an Array) is equivalent to Ruby Hash and whether we can use Ruby Hash as
an array, in the same way that JavaScript uses the “array”.

Regards,

Bill