Re: A side-effect example

> 2. Side-effect free and non-functional. Such components have no detectable
>    effect on the world except for the inputs they consume and the
>    outputs they produce, but given the same inputs, they may produce
>    different outputs.

One way to look at non-functional components is to say that they have
a hidden input, such as something that produces the time for a
timestamp.  The parallel with side-effects - which are hidden outputs -
is then clear.

-- Richard

Received on Thursday, 27 April 2006 14:58:37 UTC