-
Notifications
You must be signed in to change notification settings - Fork 2
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
Clean Code & Typing #8
Comments
I mean that our code in this boilerplate should be well typed 😄. You're totally correct we aren't going to typecheck the researcher's code. IDE's actually do support that, but no researcher would want it. |
one way for researchers to have typing for their code is to define schemas that is some custom schema they define that gets passed around. They could just use a dictionary like i see a lot of people using, but one problem with dictionaries is that people just cram in whatever garbage they want leading to bad readability. |
We're addressing this in a few ways:
https://hydra.cc/docs/next/tutorials/structured_config/intro/#internaldocs-banner |
@goodmattg How do you imagine we have boilerplate that checks for this?
Useful links:
https://docs.python.org/3/library/typing.html
The text was updated successfully, but these errors were encountered: