Re: [whatwg/webidl] Allow static operations to have the same name as regular operations (Issue #1097)

I think also that if we have future Java bindings or something, it'd be fine for exceptional cases like this to be exposed to Java as `Response.static_json()` or something. I.e., making hypothetical future Java users pay a small prince in ugliness, seems like a good tradeoff in exchange for making the API more intuitive for current JavaScript users.

In other words, (a) I don't think this makes other language bindings impossible; (b) I think it's fine, and in fact a good idea, to be unfair to other-language bindings, since JavaScript is very intertwined with Web IDL already.

-- 
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/webidl/issues/1097#issuecomment-1032778641
You are receiving this because you are subscribed to this thread.

Message ID: <whatwg/webidl/issues/1097/1032778641@github.com>

Received on Tuesday, 8 February 2022 16:05:29 UTC