Skip to content

Choose one: should the State use s.dot_notation or s["dictionary notation"]? #575

Discussion options

You must be logged in to vote

I am voting for dataclass.

This is a good video demonstrating and comparing both and it does a good job showing how much cleaner it is to use dataclasses: https://youtu.be/8SCYteAlqko?si=2mE_kil0skzKJlND

Although dictionaries are simpler to use, and will facilitate users with less experience, dataclasses have some extra functionality, which will facilitate more experienced users. Although it's nice to support less experienced users, I suspect AutoRA will more heavily be used by experienced users so I would focus on that. Dataclasses also have extra functionality, which may come in handy as AutoRA evolves to be more complex, or as users use it in more complex ways.

Lastly, our experimental…

Replies: 4 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by hollandjg
Comment options

hollandjg
Nov 15, 2023
Maintainer Author

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
3 participants