function is, in my opinion, an incredibly vague tag, that overlaps significantly with functional-programming. The tag wiki of function 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 function 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 function, then it makes it a meta tag, and this already falls under our program defaults (functions and programs)
- Questions that fall under the functional-programming 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 function. They are covered by our site defaults, and the functional-programming 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 function tag. However, it's currently being confused with other, more vague uses of the word "function". As suggested by Bubbler, mathematical-function or similar would be a better name.
This discussion is to answer the following questions:
- Should we clean up the function tag?
- If so, how?
- Should we remove it from posts in category 1, synonymize function with functional-programming and tag relevant questions with a new mathematical-function tag?
- Something else?
What are your thoughts on the matter?