It's impossible to discern just by looking at these field namesfields (and without reading methods) that otherTables
is meant to hold table aliases. Why not be kind to the code reader (who is often you, just at a later time) and call it tableAliases
?
Additionally, the relationship between ScopedData
and LinkedList
are not polymorphic, because in order to leverage behavior that specific to ScopedData
you have to use its concrete type, not super type. If you declare it as a List
, Queue
or Deque
it would be a LinkedList
in disguise (more over, ScopedData
is not supposed to be used like that)