Skip to content
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

Increasing Functionality and Efficiency #4

Open
rebekahrudd opened this issue Feb 16, 2024 · 0 comments
Open

Increasing Functionality and Efficiency #4

rebekahrudd opened this issue Feb 16, 2024 · 0 comments

Comments

@rebekahrudd
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant