Since a Reader loads a specific file (and presumably) does not allow to load multiple files at once, it would need more than one instance of them to search in more than one databse file.
Thus, it would need more than one variable that contains a Reader.
Naming them just $reader will potentially lead to code conflicts for new users (blindly) copy & pasting the various examples.
Since a
Reader
loads a specific file (and presumably) does not allow to load multiple files at once, it would need more than one instance of them to search in more than one databse file. Thus, it would need more than one variable that contains aReader
.Naming them just
$reader
will potentially lead to code conflicts for new users (blindly) copy & pasting the various examples.