In Chapters 7 and 8, all defined operations are represented as verbs, which simplifies understanding with the format do_verb. However, for functions, we use the term func and implement it as do_func. This feels inconsistent to me. The phrase "do a function" is somewhat ambiguous. Perhaps, to maintain consistency, we could name it with a verb, like set_func or decl_func, similar to the set and do_set format used for variables.
Considering this again, I would probably go for decl_func rather than set_func as the latter may generate some confusion since we do not give the function a name in the declaration.
In Chapters 7 and 8, all defined operations are represented as verbs, which simplifies understanding with the format
do_verb
. However, for functions, we use the termfunc
and implement it asdo_func
. This feels inconsistent to me. The phrase "do a function" is somewhat ambiguous. Perhaps, to maintain consistency, we could name it with a verb, likeset_func
ordecl_func
, similar to theset
anddo_set
format used for variables.