Function (computer programming): Difference between revisions

Content deleted Content added
to avoid confusing the reader, describe why this article covers multiple terms
Terminology: (sub)routine
Line 24:
 
* ''Subprogram'' was used long ago but today is antiquated
 
* The terms ''routine'' and ''subroutine'' (both antiquated) describe the same thing, but highlight a [[subordinate]] calling relationship that is similar to how a ''subdirectory'' is structurally subordinate to a ''[[Directory (computing)|directory]]'' {{endash}} a subdirectory is a directory and (except for the root) a directory is a subdirectory.
 
* Some consider ''function'' to imply mathematical function; no side-effects, but in many contexts (languages) ''function'' does not imply that