Yes, eq could have been used but that’s somewhat debatable
. I guess allofterms() was used for two purposes:
- The director’s name could have contained middle name, or could have been in “lastname firstname” format, so we do not want exact matching.
- Demonstrate the
allofterms()function, so the user can quickly go to the docs and learn about it.