When I was sick last summer I couldn’t even come close to thinking about a
Map while programming. Feeling much better these days after radically altering my diet, I have used many maps over the last two days to solve programming problems elegantly:
Map<Tuple<Position,RatingType>, Spinner> positionRatingSpinnerMap = new HashMap<>();
That code gives me an easy way to lookup an Android
Spinner widget based on a football player’s position (QB) and rating type (short passer, long passer, runner).
I have to say, it feels good to have my brain back.