- From: Lea Verou <notifications@github.com>
- Date: Mon, 18 Jul 2022 08:40:32 -0700
- To: w3ctag/design-reviews <design-reviews@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Monday, 18 July 2022 15:40:45 UTC
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