Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Re: Name for a kind of function

28 views
Skip to first unread message

Victor Bazarov

unread,
Feb 1, 2016, 9:22:57 AM2/1/16
to
On 2/1/2016 6:22 AM, Stefan Ram wrote:
> When a computer downloads a web page, the computer is called
> »client« and the source of the download is called »server«.
>
> When a function »m« calls another function »f«, we call »m« a
> »client« of »f«, but how to we call »f« then? One does not
> call a function a »server«, does one?

In the latter case I'm more familiar with referring to 'm' as a "caller"
(usually inside the 'f' function), and if one has to give 'f' a special
name, it's a "called function". However, given that the compiler is
free to inline the code (or refrain from generating the code that would
call it _at all_ in some cases), no special term is in common use, I
believe. I have heard a "callee", but not often enough to make it
customary.

V
--
I do not respond to top-posted replies, please don't ask

Wouter van Ooijen

unread,
Feb 1, 2016, 12:03:06 PM2/1/16
to
Op 01-Feb-16 om 3:22 PM schreef Victor Bazarov:
I often heare and use the term "callee". I think it is widely accepted.

Wouter

4ndre4

unread,
Feb 1, 2016, 1:59:57 PM2/1/16
to
On 01/02/2016 11:22, Stefan Ram wrote:

[...]
> When a function »m« calls another function »f«, we call »m« a
> »client« of »f«

Caller, not client.

>but how to we call »f« then?

Callee.

--
4ndre4
"The use of COBOL cripples the mind; its teaching should, therefore, be
regarded as a criminal offense." (E. Dijkstra)
0 new messages