Open mchiquier opened 4 years ago
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