Re: [whatwg/encoding] Talk about instances of decoders and encoders (#240)

Looking through the spec, it seems the usages of "decoder" and "decoder instance" are quite inconsistent, and it seems to go against the common mental model, so I'd be up for changing it. The main use case for distinguishing "classes" from instances seems to be that "run" creates a new instance when passed the "class", but it could be passed the encoding and an encode/decode flag instead.

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

Received on Friday, 23 October 2020 12:09:51 UTC