News for hackers. Stuff that matters.
Re:OpenGL API Documentation by Retra on Friday June 19, 2015 @04:10PM (#9747327)
"Function" comes from mathematics, where it is a well-defined and total relation. The main place programmers use it wrong is that they often use the same term for partial functions, but that's easy to overlook, since a partial function is a 'kind' of function. (That and side effects, but those can be considered to be elided parts of the domain and codomain.)

What you are talking about might be called a relation, which is more general.

There are no comments on this comment yet.