May-07-2023, 06:14 AM
(This post was last modified: May-07-2023, 06:14 AM by Gribouillis.)
(May-06-2023, 10:18 PM)6hearts Wrote: I really do not have much functionality on them, except for storing data. And I mostly just need to lookup data,Dataclases are probably the appropriate tools instead of dictionaries, and it solves the problem of identifying the type of the objects in a collection with mixed objects. Namedtuples could perhaps be used too.