Why is a function defined as set of ordered pairs?
Ann Quiroz Gates, Владик Крейнович · ACM SIGCSE Bulletin · 1997
In this short note, we describe the reasoning that makes the standard mathematical definition of a function (as a set of ordered pairs) more natural for students in an introduction to computer science course.