3 ms·
I think it's fundamentally wrong to model a team as a list of players. It isn't a list of players, and having a data structure representing the players as a pro
by boomlinde 13y ago
I think it's fundamentally wrong to model a team as a list of players. It isn't a list of players, and having a data structure representing the players as a property of the team seems more meaningful in terms of communicating the idea of team members. Even then, the most useful data structure to represent the member players would probably be a set, in my opinion. Then, the whole history of the team could be expressed in terms of simple operations on that set.