You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The problem is that we also want to be able to specify a group in the source code. I can add a group class that is similar to the club class, but then we have to keep track of the id of the group, which is annoying, at least. It is much prettier to have groups be enums or strings, with a DataStore.getPeopleForGroup() method. Currently, I am using strings, though I can swap over to enums very easily if necessary.
Unless I am missing something, the only operations that groups need to support is getMembers and getName. getMembers is implemented just fine as DataStore.getPeopleForGroup() and getName is the string for a string and .toString for an enum.
We need some way to model a group, which is different from a club.
The text was updated successfully, but these errors were encountered: