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

no need to count the usage of RFC2119 terms, just flag their presence #379

Merged
merged 1 commit into from Dec 18, 2014

Conversation

darobin
Copy link
Member

@darobin darobin commented Dec 18, 2014

No description provided.

if (!conf.respecRFC2119) { conf.respecRFC2119 = {} };
if (!conf.normativeReferences) conf.normativeReferences = {};
if (!conf.informativeReferences) conf.informativeReferences = {};
if (!conf.respecRFC2119) conf.respecRFC2119 = {};
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Implied "{" "}" can lead to sadness :(

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I've heard that rumour for the past twenty years; I've never seen it materialise.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

So, if we were using a different language and making use of goto, and employing a nonsensical identation scheme, and distracted, and stoned from having used Python too much I agree that it could be a problem.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ROTFL! Actually if you go back and look at the original pull request that implemented this change, I think we decided counting them was harmless and might at some point be valuable. I don't really care. And I wrote it. But is there a compelling reason to NOT have this information around?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's not a big deal but I was in that code for other reasons and I puzzled at what those six lines were doing. If we need the information we know how to add it but, but otherwise YAGNI. It's just a clean-up patch, I didn't expect the Spanish Inquisition.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

NO ONE EXPECTS THE SPANISH INQUISITION!

Sorry. I couldn't resist. I will merge it in.

halindrome added a commit that referenced this pull request Dec 18, 2014
no need to count the usage of RFC2119 terms, just flag their presence
@halindrome halindrome merged commit 6c01100 into w3c:develop Dec 18, 2014
shikhar-scs pushed a commit to shikhar-scs/respec that referenced this pull request Feb 19, 2018
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

Successfully merging this pull request may close these issues.

None yet

3 participants