Created
October 5, 2015 01:27
-
-
Save matklad/3400a99da75f957e2e82 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Can I use namedtuple? | |
| YES | |
|------------------------- Use namedtuple | |
| |Only two/three fields, forever? | |
| |---------------------------------- Consider tuples | |
| | |
| | |
| | |
| | |
|--Do I need order? | |
| YES | |
|------------------------ Use list | |
| | |
| | |
| | |
|--- Can I have duplicates? | |
| YES | |
|------------------------------- Use Counter | |
| | |
| | |
| | |
| | |
|-------------------------- Use set | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment