5
\$\begingroup\$

is, in my opinion, an incredibly vague tag, that overlaps significantly with . The tag wiki of only has an excerpt that reads

For challenges that ask for a function or involve functions in some way. (Also known as methods or subroutines.)

Taking a browse through the 48 questions, they can be sorted into 3 categories:

  • Questions that ask answerers to submit a function as their solution. If this is the intended usage of , then it makes it a meta tag, and this already falls under our program defaults (functions and programs)
  • Questions that fall under the tag, such as this
  • Questions that ask answerers to craft a mathematical function with specific requirements. For example, this and this.

The first and second categories should not be appropriate usage of . They are covered by our site defaults, and the tag, respectively.

The third is a legitimate style of question that we should welcome on the site. I also think this was the original usage of the tag. However, it's currently being confused with other, more vague uses of the word "function". As suggested by Bubbler, or similar would be a better name.


This discussion is to answer the following questions:

What are your thoughts on the matter?

\$\endgroup\$
0
5
\$\begingroup\$

This is not a complete answer but some thoughts that wouldn't fit in a comment.

I don't think that is a very good name.

The challenges in category 3 have an interesting unifying feature: the fact that they don't mandate particular outputs, but require some property to be true. They do all involve mathematical functions, because mathematical functions are a good language to describe properties. They are not about functions as much as they are about properties. There are many other challenges that do involve mathematical functions or are even about a particular mathematical function (e.g. Fibonacci, factorial etc.). Anything with has a high probability of involving mathematical functions.

I think calling it , just creates another tag with a vague name, which may very well end up slapped on all sorts of stuff.

The posts here have an interesting unifying feature that not all function related challenges have. So our tag should have a name that captures this feature.


I suggest

I think the key feature we want though is a name that doesn't cause people to jump to the wrong conclusion and end up tagging a bunch of random challenges. This makes the tag useless.

For these reasons I suggest . This expresses the open-endedness that unifies them and is hard to misinterpret as something else. It probably isn't clear at first sight what this means, but I think that just means newbies click on the tag to read the description, while experienced users will just know what it means.

\$\endgroup\$
1
\$\begingroup\$

Create and

I agree with Wheat Wizard in that is vague. For questions that require defining/finding mathematical functions that meet some critera, may be a better name.

There are also some questions that involve taking blackbox functions as input but don't have to do with functional programming. If there are enough of them, I think the tag would be appropriate.

\$\endgroup\$

You must log in to answer this question.

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