Stephan van Hulst wrote:What is computation? Computation inherently involves transforming input to results. What transforms input to results? Functions. It doesn't matter if you want to call them functions, subroutines, lambdas, actors, categories or transitions; they all relate to the same concept.
That's a great way to put it, and precisely answers what I'm asking. However, what about the so-called "void" type of functions in, say, Java? These can take in inputs, but since they are type void, they return no outputs. Doesn't this stray from the notion of transforming input to results, and thus to computation?