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

The arguments for both versions are aesthetic or conceptual API design ones, not about concrete advantages. From that perspective the advantage of stream() comes from things like the single responsibility principle, or avoiding any potential expectations that decode() and the readable/writable streams operate on the same shared state (they don't, even though that version would put them on the same object).

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

Received on Tuesday, 13 March 2018 23:53:05 UTC