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
Your program is working well and you are pulling in the data from the API in an efficient manner. One aspect of your code that you could improve is flexibility in your code. You have many nested conditional statements which can make your code clunky and inefficient. It also breaks easily because if one variable isn’t there the whole system will crash. To make your code more efficient it might help to have some set cases for variables so that if there is an issue or a variable is missing there is an automatic value for that variable that will be used instead, this way your program will still run even if some data points/variables are missing.
The text was updated successfully, but these errors were encountered:
Hi @lukel43,
Your program is working well and you are pulling in the data from the API in an efficient manner. One aspect of your code that you could improve is flexibility in your code. You have many nested conditional statements which can make your code clunky and inefficient. It also breaks easily because if one variable isn’t there the whole system will crash. To make your code more efficient it might help to have some set cases for variables so that if there is an issue or a variable is missing there is an automatic value for that variable that will be used instead, this way your program will still run even if some data points/variables are missing.
The text was updated successfully, but these errors were encountered: