As we all know, there are certain characters which will do not show up properly in searches.
Some examples are:
f = b
f := b
f[x_, y__, ___] := c
a // f
f@b
g /@ {x, y, z}
I think it would be useful if we were to modify posts to contain not only the characters, but the name of the characters immediately afterward. For example if we had a question like this:
"What is /@ and what does it do?"
Clearly the person who asked it didn't know about it. It may be better then if we, collectively as a whole, stated in questions that talked of /@
, to include the name of the operator. For example we may edit the question so it is phrased:
"What is /@ (Map operator) and what does it do?"
This simplifies any searches that may done as well. We still can't search for /@
, but (hopefully) when people know what the operator name is, they can simply type in Map operator
and see the posts related to this.
Furthermore, in questions that are tagged in relation to this we should use name-operator. For example, questions asking about /@
can be tagged: map-operator.
What are your thoughts on this? There's a lot of non-trivial functional operators and we need a systematic way of representing them on the site in an easily searchable and understandable way. I doubt many people read f /@ x
for the first time and thought "This is mapping f onto the list x".
/@
asMap
and look for the specific tag, they might as well look into the documentation center :) I would not be for a suggestion that uses this tag/uses descriptive text every time/@
is mentioned in the question or answer...functional-programming
orlist-processing
, since usually those operators are used in those contexts.