Your rules of thumb are a good way to distinguish:
- Function Calls in Expressions: Functions return values and are used in expressions.
- Subroutine Calls Start with ‘call’: Subroutines perform tasks without returning values and often start with ‘call’ in some languages.
- Statements Stand Alone: Statements are independent instructions that perform actions.