Re: [heycam/webidl] No seemingly consistent Shepherd story (#240)

>  Neither enforces the constraints and both operate in the same way.

The constraints are enforced by the Web IDL type system! Yes, people can write specs that violate the Web IDL type system. But then it's just an invalid spec that's not implementable in browsers.

> You're saying it's fine to have separate strategies for IDL and the rest of the ecosystem.

In general it's fine to have separate strategies for separate ecosystems. E.g. JavaScript, IDL, Dart, WASM, and spec-land all can have different type systems, and in each of them we can use the terminology we find most useful. There's no gain in trying to shoehorn everything into the same mold.

-- 
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/240#issuecomment-262030796

Received on Monday, 21 November 2016 18:51:42 UTC