Re: [heycam/webidl] Drop stringifier operation longhand (#941)

My take is that this is a good incremental improvement that prevents us from using the longhand syntax on future APIs.

Longer-term, I think it'd be best to move stringifiers to just be operations the same we did for serializer -> toJSON(). That is, remove the stringifier concept, and just let people add their own `toString()` operations. We could add something like `[ForwardsTo=href]` if we want to allow omitting the method steps, but I'm not sure whether that's necessary.

That longer-term change requires a bit of spec ecosystem churn so I'm not sure how worthwhile it is.

-- 
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/pull/941#issuecomment-879246199

Received on Tuesday, 13 July 2021 16:52:48 UTC