Re: Objects that can stringify in multiple ways

On Thu, Mar 16, 2017 at 1:04 AM, Travis Leithead
<travis.leithead@microsoft.com> wrote:
> Also consider discoverability: it'll be much easier to feature-detect as a separate property than a parameter.

That's a good point.

Domenic's first-class domain concept resonates as well.

I guess the other thing to consider with URLs (not hosts) is that the
Unicode conversion might be lossy, due to paths/queries/fragments not
always using valid UTF-8 percent-encoded bytes.

I guess we'll go with unicode().


-- 
https://annevankesteren.nl/

Received on Thursday, 16 March 2017 07:49:15 UTC