Pure function

From CS 61A Wiki
Revision as of 13:43, 25 May 2014 by Axis (Talk | contribs)


Jump to: navigation, search

A pure function just returns a value. Given the same arguments, it returns the same value. An example is the add function.