[whatwg] Endianness of typed arrays

Robert O'Callahan robert at ocallahan.org
Wed Mar 28 00:49:42 PDT 2012


On Wed, Mar 28, 2012 at 5:33 PM, Charles Pritchard <chuck at jumis.com> wrote:

> It does seem like a bigger "warning" in the spec may benefit developers.
> A warning and an example of how to check for big-endian results.
>

Asking developers to write extra code paths for users that don't exist is
futile. Even if you could persuade them to do it, since there's no way to
test those code paths, most of them will get it wrong.

Rob
-- 
“You have heard that it was said, ‘Love your neighbor and hate your enemy.’
But I tell you, love your enemies and pray for those who persecute you,
that you may be children of your Father in heaven. ... If you love those
who love you, what reward will you get? Are not even the tax collectors
doing that? And if you greet only your own people, what are you doing more
than others?" [Matthew 5:43-47]



More information about the whatwg mailing list