difference between proc and func is very easy, funcs do not have side effects 
side effects is everything that change external state (everything outside that 
func), echoes, quiting, throwing errors, changing global variables and etc, the 
func should be pure and just return the result that depends only on function 
arguments

Reply via email to