I\'m reading a guide that says function could/should store data at times since they are technically objects. If I have a function like below, is it bad practice to have a f