Re: [w3ctag/design-reviews] Response.json() (Issue #741)

Hi @ricea,

We took a look at this today during a breakout. We are concerned that it's confusing that there is an instance method and a static method with the same name that do exactly opposite things. This is also acknowledged in the explainer, but as a benefit:

> This is symmetric with the `Response.prototype.json()` method which converts back the other way.

We are also unsure if it's a good idea to have a factory method whose naming does not indicate that it's a factory method.

What are your thoughts on this? What alternative names have you considered? 

-- 
Reply to this email directly or view it on GitHub:
https://github.com/w3ctag/design-reviews/issues/741#issuecomment-1187657017
You are receiving this because you are subscribed to this thread.

Message ID: <w3ctag/design-reviews/issues/741/1187657017@github.com>

Received on Monday, 18 July 2022 15:40:45 UTC