DEV Community

Discussion on: Functional programming basics part 1: Pure function

Collapse
 
euler2718 profile image
John Corley

I think something that returns VOID is not even a function at all, but a procedure....don't functions need input/ouput by mathematical definitions?

Collapse
 
jreina profile image
Johnny Reina

This is the working definition that I use.

Collapse
 
ysael profile image
ysael pepin

that is a great way to describe it I think!