3 ms·
I would also agree that function is the wrong name. Procedure however might be a good enough name, less connoted than Recipe. Quoting the Elements of Programm
by enqk 11y ago
I would also agree that function is the wrong name.
Procedure however might be a good enough name, less connoted than Recipe.
Quoting the Elements of Programming by Alexander Stepanov:
"A Procedure is a sequence of instructions that modifies the state of some objects; it may also construct or destroy objects."
With the definition of Object as:
"An Object is a representation of a concrete entity as a value in memory"