Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Should {} and other wrappers that permit them *always* or *never* be internally space padded? #143

Open
TallTed opened this issue Jan 22, 2025 · 0 comments

Comments

@TallTed
Copy link
Member

TallTed commented Jan 22, 2025

(Originally raised at https://github.com/w3c/rdf-semantics/pull/64/files#r1911053260)

A decision to be made: whether {} wrappers that permit it should always or never be internally space padded; that is whether { should always or never be followed, and } should always or never be preceded, by a space . I am strongly in favor of always including such space characters, as I have never found them to decrease comprehension, and very often to increase it.

I find that sometimes including such padding, as here on the closing string } but not on the opening {I(E), significantly decreases comprehension, especially by readers who are not yet familiar with the overall subject matter.

(A similar question applies to <>, (), [], and any other similar wrapping punctuation.)

See https://github.com/w3c/rdf-semantics/blob/88152260cb19714c5c5ca206e709e8e46496928e/spec/index.html#L1181

        <p>ICEXT(I(<code>rdf:dirLangString</code>)) is the set { I(E) : E a directional language-tagged string }</p>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant