7

I came across tags (51 questions) and (33 questions), and 3 questions are tagged with both.

Wiki entries:

  • Questions about or related to the book "The C Programming Language" (which is also known as K&R) by Brian Kernighan and Dennis Ritchie.
  • For questions about the C language described in Kernighan & Ritchie "The C Programming Language", and possibly for questions about pre-standard C.

There doesn't seem to be much doubt that they're basically the same tag.

Questions

  1. Which tag should be kept?
  2. Should the other be made a synonym, or simply eliminated?
  3. Is the migration something the Stack Overflow team would handle or is it something that we're going to have to handle with brute force and tedious updates?

My inclination is to prefer over (and not just because of the relative numbers of questions); another option might be .

I'm contemplating creating a tag such as to cover questions about K&R-style function definitions, and was researching what tags are already available before doing so.


Meta Stack Exchange

There's a closed question on MSE that's closely related:

8
  • 4
    I don't really like knr; it looks too much like an acronym. Oct 1, 2014 at 15:53
  • 1
    There was once a question by me about making [knr] and [kr-c] synonyms or merging them, and in the end it was rejected for cause: [knr] is about the book (also more modern revisions) while [kr-c] is about the language. Oct 1, 2014 at 15:55
  • More interestingly, there is a kernighan-and-ritchie tag. That probably needs to be distributed amoung [knr] and [kr-c]. Oct 14, 2014 at 18:07
  • 5
    IMO, all 3 tags should be merged into one. Frankly, there's no reason to separate pre-standard C and K&R C book (they are both the same and K&R C book was the Standard in the pre-standard era!).
    – P.P
    Nov 1, 2014 at 0:52
  • @BlueMoon: Seems you should read my answer: The book is not about K&R-C, at least the second revision isn't. Nov 1, 2014 at 21:42
  • @Deduplicator I read your answer before posting my comment. While version 2 covers almost all of C89, the book came out before C89 was ratified. Even if it covers, entire C89, its tag should just be C rather than K-R-C (version 2). The term ANSI C has been outdated and has no good meaning now. So to say K&R version 2 covers ANSI C could be misleading today and the book doesn't claim to be C89 (or ANSI C -- that you are referring to as) conformant.
    – P.P
    Nov 1, 2014 at 22:11
  • Looking back at some old ignored synonym/retag requests and I see this one. Looks like knr is long gone, so no need for anything there. (Good riddance, I say; I don't like 'n' for 'and'.) Before I tag this as [status-completed], what are your thoughts on P.P.'s proposal to merge kernighan-and-ritchie and kr-c? It seems reasonable to me; in modern times and in practice, it doesn't seem like the book vs. the pre-standard language spec is a useful distinction. Aug 21, 2017 at 5:17
  • @CodyGray: I'd be happy to see kr-c merged with kernighan-and-ritchie — the latter, longer name is much easier to understand. I'd prefer [tag:k&r] but I assume that isn't an option. The only (mild) downside might be the distinction between ANSI C as used in K&R 2nd Edn and the K&R C language as it existed before ANSI C (using ANSI C for C89 — ISO for C90, C99, C11). On the whole, that isn't enough of a loss to be a problem. There are about 37 kr-c and 227 kernighan-and-ritchie questions when I checked just now. Unless we decided on pre-standard-c? Aug 21, 2017 at 5:23

2 Answers 2

4

In my opinion, the tags , and should be merged into a single tag (whichever is deemed more appropriate).

Basically, there should be only a single tag that covers pre-standard C (including K&R book). If it's about standardized C then should be used. If the question is about specific standard of C then the respective tag (, or ) can be used alongside .

Besides, these (, and ) are mostly used in questions about the exercises mentioned in K&R book (version 2) rather than anything specific to pre-standard C (before C89).

There have only been a handful of questions that use these tags (53, 33 and 93 respectively) in the entire existence of SO while there have been many questions asked about K&R book everyday, which suggests these tags are not really working. Because it's not intuitive for someone to think that there could be a tag specific to K&R book (even if it's the book) and usually everyone mentions it in the title or body of the question (That's much better for google search than these tags by the way).

Imagine yourself as a new user asking about a C question and you are familiar with K&R book. Would you naturally look for or in the tags field while tagging?

While the community can encourage/edit questions to add these tags (if it's not tagged by askers), I don't see any reason to religiously make these tags work, if these tags are not working already.

3
  • Going by daily evidence, as a new user I would just ask my question and not look, and try to duplicate my title in the tag-field. Nov 2, 2014 at 1:28
  • 3
    I completely agree with this answer, the three tags are used for the very same purposes. It is either questions regarding the book, or (far less frequently) questions regarding pre-standard C. Which of the 3 tags that gets picked seems arbitrary. I think we can keep kr-c and kernighan-and-ritchie, then nuke "knr". I have never heard the term "knr" used. The ideal tag would of course be "K&R" but the ampersand can apparently not be used in tag names.
    – Lundin
    Nov 13, 2014 at 20:04
  • 1
    Implemented as described in this answer, after 3 top users of that tag (OP, Answerer and @Lundin) have agreed to the same. Aug 18, 2018 at 3:15
2

They should not be merged:

Is about the book "The C Progamming Language" by K&R, in both revisions:

  • Version 1: K&R C
  • Version 2: ANSI C

is about the language pre-ANSI, as described in the first revision.

If I could still find a link to my old and mis-guided question (requesting merge and/or synonymization), I would link it here.
Oh well, on the dustheap of history it stays.

Summary: While it might make sense to kill (and probably also ) for being meta-tags, certainly not all of them deal in K&R-C, which is a version of C and thus deserving of its own tag.

2
  • 2
    The three wikis says otherwise. Did you read them? More so, the tags are not used in the way you claim that they should be used.
    – Lundin
    Nov 13, 2014 at 20:01
  • @Lundin: You might want to re-read them. Feb 17, 2015 at 14:58

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .