Re: [whatwg/encoding] Add Streams support (#72)

I don't think duck-typing and symbols are very related. There are many duck-types throughout the platform (and the history of computing) based on string names. For example, everything on the platform that accepts a dictionary argument instead of a class. (Concrete example: DOMPointInit.)

Symbols are mostly used for syntax-triggered protocols like iteration. Although I'm not sure the dividing line is that clearly thought out.

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

Received on Wednesday, 13 June 2018 15:41:57 UTC