-
Notifications
You must be signed in to change notification settings - Fork 99
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
User live score #78
base: master
Are you sure you want to change the base?
User live score #78
Conversation
(tests not done yet)
pycharm cleanup
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
All map
and filter
can be replaced by list comprehensions. Still need a solution for returning dictionaries breaking the previous version's code. Some other small changes as well, but this is what I had time to check for today.
This feature to give us the user live score is great, I'm looking forward to it :) |
I think you mentioned one of the reasons of returning dictionaries instead of lists was because it necessary for something you were going to implement, right? Could you point me to where exactly so I can see if there is a possible solution? |
It's convenient as opposed to strictly necessary An alternative to be to make a "find" helper function that does this iteration. Haven't looked at this for a a few days, but I was trying to tidy up my branches and make my master branch closer to yours so it'd be easier to merge. I had reverted to using lists for this - going to keep the dict returns in a separate branch - should eventually get it cleaned up properly |
This as a utility function would work for either dicts or lists |
tests still to be done