[heycam/webidl] Describing overloaded methods (#241)

If a specification defines an overloaded method, should it define multiple operations or a single one?

I've always been of the opinion that an overloaded method should be described as a single operation in prose, since JavaScript cannot express overloads and the mismatch with developer expectations would therefore be too great.

But it turns out some of the tooling I want to use for writing standards doesn't support that and IDL seems to actively suggest you get multiple operations (f1, f2, f3, f4).

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/heycam/webidl/issues/241

Received on Thursday, 17 November 2016 08:02:40 UTC