functions

R

Richard Bos

Malcolm McLean said:
So the important distinction is between those that shuffle bits, and
those that perform actions.

And those that shuffle bits and then perform an action with them, and
those that perform an action and then shuffle the resulting bits. And
even, rarely, those that neither shuffle bits nor perform any actions -
sometimes the purpose of a function is just to exist.

Richard
 
M

Malcolm McLean

And those that shuffle bits and then perform an action with them, and
those that perform an action and then shuffle the resulting bits. And
even, rarely, those that neither shuffle bits nor perform any actions -
sometimes the purpose of a function is just to exist.
All procedures shuffle bits (I suppose someone will come up with an
exception).

You can have a null function, that is true. The object in
distinguishing functions from procedures is to come up with a
separation for the purposes of software engineering, which is partly a
psychological discipline, not to produce a formal set theory of
functions.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
474,085
Messages
2,570,597
Members
47,220
Latest member
AugustinaJ

Latest Threads

Top