Function (computer programming): Difference between revisions

Content deleted Content added
Cjdb (talk | contribs)
mNo edit summary
Terminology: add wikilink
Line 18:
==Terminology==
 
Some programming languages, such as [[COBOL]] and [[BASIC]], make a distinction between functions that return a value (typically called "functions") and those that do not (typically called "subprogram", "subroutine", or "procedure"). Other programming languages, such as [[C (programming language)|C]], [[C++]], and [[Rust (programming language)|Rust]], only use the term "function" irrespective of whether they return a value or not. Some object-oriented languages, such as [[Java (programming language)|Java]] and [[C Sharp (programming language)|C#]], refer to functions inside classes as "methods[[Method (computer programming)|method]]s".
 
==History==