WordCmp.com

function vs subroutine

subroutine vs function

function and subroutine both are nouns.

function is a verb but subroutine is not a verb.

Word NounAdjectiveVerbAdverb
function Yes No Yes No
subroutine Yes No No No
As nouns, function and subroutine are synonyms defined as:
  • function and subroutine: a set sequence of steps, part of larger computer program
Other synonyms of function include procedure, routine, subprogram.
function (noun) subroutine (noun)
the actions and activities assigned to or required or expected of a person or group a set sequence of steps, part of larger computer program
what something is used for
a set sequence of steps, part of larger computer program
a formal or official social gathering or ceremony of people
a formal or official social gathering or ceremony
(mathematics) a mathematical relation such that each element of a given set (the domain of the function) is associated with an element of another set (the range of the function)
a relation such that one thing is dependent on another
function (verb) subroutine (verb)
perform duties attached to a particular office or place or function
perform as expected when applied
serve a purpose, role, or function
Difference between function and subroutine

© WordCmp.com 2024, CC-BY 4.0 / CC-BY-SA 3.0.