2

I've repeatedly encountered the following notation for mappings in computer science papers: enter image description here

I believe, however, that the correct notation is the barred right-pointing arrow, like this:

enter image description here

I think the first notation is a bit illogical and counterintuitive, to be clear. Am I missing something, or is this perhaps a computer science idiosyncracy?

closed as off-topic by Nate Eldredge, Federico Poloni, Pete L. Clark, Brian Borchers, Brian Tompsett - 汤莱恩 Jan 1 '17 at 22:49

This question appears to be off-topic. The users who voted to close gave this specific reason:

  • "The answer to this question strongly depends on individual factors such as a certain person’s preferences, a given institution’s regulations, the exact contents of your work or your personal values. Thus only someone familiar can answer this question and it cannot be generalised to apply to others. (See this discussion for more info.)" – Nate Eldredge, Federico Poloni, Pete L. Clark, Brian Borchers, Brian Tompsett - 汤莱恩
If this question can be reworded to fit the rules in the help center, please edit the question.

  • 13
    The left arrow here denotes assignment, not "mapping". It's standard notation in computer science, commonly used in pseudocode. This site isn't really the right place for questions like this; cs.stackexchange.com would be better. – Nate Eldredge Jan 1 '17 at 22:06