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

+1 to what @inexorabletash said, especially the part about long history of trying the explain the quirks of the platform.

As for optimizing for the most people who don't understand what they use anyway, I think 1. is harmful in that it offers magic instead of a coherent mental model of _why_stuff works, so it forces even people who are trying to understand stuff to the not-understanding mode.

>From the implementation perspective, in Gecko I think I'd implement `TextDecoderStream` separately from `TextDecoder`, so having them as separate spec text would be a feature rather than a bug. From my perspective, "spot the difference" isn't the spec reading issue but the spec reading issue is untangling the stream transformer case from the non-transformer case.

-- 
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-376788577

Received on Wednesday, 28 March 2018 07:28:12 UTC