This question already has an answer here:
- Method vs Function vs Procedure 6 answers
I understand the difference between methods and functions. I also understand all methods are functions but not all functions are methods. I always refer to methods as functions. It feels like a more natural term, probably because in PHP the word function is right next to the name of the method. However method seems to be a more precise word. I'm wondering if I'm misusing the term function and if it's a bad habit.
Is this use of the term function when referring to methods frowned upon or problematic?