re: When do you create a function or method? VIEW POST

VIEW PARENT COMMENT VIEW FULL DISCUSSION
 

No, I create them out of habit anyway. However, consciously I know I need to create one whenever I need something that will repeat itself somewhere else.

I also said inheritance error when I think I meant scope error.

code of conduct - report abuse