Good practice to separate out the computational "back-end logic" functions from the UI/web logic. This will clean up the app.py file, make testing much easier (since we can use the back-end functions outside of the app), as well as have the availability for a cli if ever desired.
Good practice to separate out the computational "back-end logic" functions from the UI/web logic. This will clean up the app.py file, make testing much easier (since we can use the back-end functions outside of the app), as well as have the availability for a cli if ever desired.