47

The tag is talking about the "Common Lisp 'remove-if' function."1.

In reality there exists only a handful of questions (at the time of writing 4), which actively talk about Lisp. The other 160 questions are all for different programming languages, including: Java, R, C#, C++, PHP, Python (the list goes on).

In my opinion: This tag should be removed entirely even when it is used correctly, it still is only targetting a single method of a programming language. And we clearly don't need a unique tag for every possible method / function for every programming language.

In short, remove the meta tag:


Does it describe the contents of the questions to which it is applied? and is it unambiguous?

Kind of - It is as much useful in describing the contents as tagging the question with every method or keyword used in the code-snippet, the only thing we know without reading the question is that OP is trying to remove something with a condition.

Regarding the unambiguity one could argue that the tag is speaking for itself, also the operation of remove-with-a-condition is quite known across multiple programming languages. So it is used quite consistently across the questions I looked at.

Is the concept described even on-topic for the site?

Yes - It still is programming related, and asking a question about these sort of methods can be considered on-topic.

Does the tag add any meaningful information to the post?

No - With or without the tag, we would still need to read the question, in order to find out what the OP is trying to remove and under what condition.

Does it mean the same thing in all common contexts?

Kind of - Remove something but with a condition.

5
  • 14
    [remove-if] burnation is approved? Commented May 11, 2021 at 13:00
  • On the same line as @NathanOliver's suggested title: "Let's [remove-if] burnation is approved"? Or is it burnination?
    – Clockwork
    Commented May 11, 2021 at 14:24
  • 11
    We should [remove-if] useless
    – Didier L
    Commented May 11, 2021 at 15:01
  • 1
    [remove-if] considered harmful?
    – Praveen
    Commented May 11, 2021 at 18:57
  • I disagree with your assesment of 'Does the tag add any meaningful information to the post?' - for people wanting to answer the question you are correct, they need to read the whole question anyway. But that's not all the SO is used for; when I encountered the remove-if idiom for the first time, I wanted to see some context usages and QA about it, so I could search on the tag to get that. Commented May 14, 2021 at 9:34

1 Answer 1

-9

The oldest questions with the tag all pertain to C++ (specifically the remove_if algorithm), and the tag wiki was not created until several years later.

I propose that the tag wiki excerpt should be updated to be non-language specific:

A method of removing objects from a container that meet a condition. Include this tag when you have a question about using the method, is it the appropriate method, if you need to use another method in combination with it (like an erase), or if you are having an issue writing the condition. Questions using this tag should also include the appropriate language tag(s).

The full wiki should also be changed to be language agnostic, and possibly include links to related documentation.

As part of the related cleanup, some questions should just have the tag removed (they use remove, not remove_if). There are also some questions are related to the C++ and may need to have that tag added (possibly instead of .

Other similar tags: there is a tag (with no wiki), and language specific tags , , and that may also need to be cleaned up.

9
  • 17
    Is there anything useful that this proposal brings? This is not a first come, first served, but tags needs to have a purpose for existing, not just existing for the sake of it.
    – Braiam
    Commented May 11, 2021 at 14:31
  • @Braiam The same purpose as the tags array-filter, array-reduce or map-function: to categorise questions about these language-independent data manipulation functions.
    – Bergi
    Commented May 12, 2021 at 17:12
  • 3
    @Bergi I think that your argument should be applied backwards: none of those should exist at all.
    – Braiam
    Commented May 12, 2021 at 17:51
  • @Braiam Then what tags would be left? Only language tags?
    – Bergi
    Commented May 12, 2021 at 19:07
  • 1
    @Bergi tags that are actually useful for categorizing topics into non-overlaping knowledge domains. Products are a good example of those. If a language/library tag generally covers all the functions, why have a tag for a specific function? We don't need to go that deep into categorization.
    – Braiam
    Commented May 13, 2021 at 11:53
  • 1
    @Braiam I disagree. Only having language/library tags would lead to overly broad categorisation, many libraries are vast. We can and should go as deep as anyone deems useful (meaning: no more than 5 tags per questions, and no tags that would have to few questions in them).
    – Bergi
    Commented May 13, 2021 at 14:00
  • 1
    @Bergi And the general consensus is that categorizing to the Nth degree is not useful except as an exercise in generating unnecessary tags. The likelihood of anyone watching a tag about a single specific library function is remote, whereas the likelihood of such a tag being incorrectly applied to unrelated questions is far higher.
    – Ian Kemp
    Commented May 13, 2021 at 14:35
  • 2
    @IanKemp I think the general consensus is that tag watching is not the only use case for tagging. Yes, one needs to make sure the tag name is specific enough so that it doesn't get mis-applied, but apart from that, no harm done.
    – Bergi
    Commented May 13, 2021 at 14:56
  • We also have stream-compaction, which apparently gets used in some high-performance / optimization contexts, like CUDA. (In CPU SIMD, I've usually seen it described as "left-packing" an array.) In the context of optimizing this algorithm with for different SIMD architectures, it makes a tiny bit of sense to have a tag for this. Commented May 13, 2021 at 19:37

You must log in to answer this question.

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