You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
make a class that is responsible for parsing the config file, normalizing arguments (e.g. whitespace -> None), checking arguments are valid (e.g. something that is supposed to be a url looks like a url) including cross validation, and presents the configuration as instance variables on the class instance to other classes. Other classes then have to do much less redundant checking of the config and failures happen immediately on server startup.
The text was updated successfully, but these errors were encountered:
make a class that is responsible for parsing the config file, normalizing arguments (e.g. whitespace ->
None
), checking arguments are valid (e.g. something that is supposed to be a url looks like a url) including cross validation, and presents the configuration as instance variables on the class instance to other classes. Other classes then have to do much less redundant checking of the config and failures happen immediately on server startup.The text was updated successfully, but these errors were encountered: