27 ms·
Procedure: something that has only side effects. Function: something that may have side effects but that also returns a value. Pure Function: something that o
by jacquesm 5y ago
Procedure: something that has only side effects.
Function: something that may have side effects but that also returns a value.
Pure Function: something that only returns a value, and has no side effects.
That's how I always understood the terms.