Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Yep. Team HAS-A list of players, not team IS-A list of players.

While we're at it, "List <? extends Player>" might be a better type for the roster, since it allows players to be subclassed and still fit into the list.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: