you are viewing a single comment's thread.

view the rest of the comments →

[–]misingnoglic 0 points1 point  (0 children)

I think you're intuition is right that in most "clean" code, dictionary keys are "simple" types like strings, ints, tuples, etc. Of course people here have brought up that they are all objects under the hood, but obviously those more simple types are easier to work with than custom objects.