Re: [whatwg/dom] namespaces: validate and extract uses the strictly split a string in a vague manner (Issue #1134)

To what extent is it helpful to be explicit about things? When thinking about a step like this, I tend to think of something like:


  5. If _qualifiedName_ contains a U+003A (:), then run the following steps:
    1.  Let _splitResult_ be the result of [strictly split](https://infra.spec.whatwg.org/#strictly-split) givent _qualifiedName_.
    2. Set _prefix_ to _splitResult_[0].
    3. Set _localName_ to _splitResult_[1].

Unwrapping things like this feels a bit verbose. Is there a better way?

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

Message ID: <whatwg/dom/issues/1134/1345733511@github.com>

Received on Monday, 12 December 2022 01:17:05 UTC