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

System for Less Redundant Initialisation of Variables #357

Open
Aarush-Acharya opened this issue Oct 8, 2024 · 4 comments
Open

System for Less Redundant Initialisation of Variables #357

Aarush-Acharya opened this issue Oct 8, 2024 · 4 comments
Assignees

Comments

@Aarush-Acharya
Copy link
Contributor

🚀 The feature

Currently many redundant variables are being initialised in different files. A system should be established which initialises variables only once and other files just use the reference of that variables initialised in that file

Take example of the Explore Controller written and initialised only once globally in the explore_controller.dart and the profile_screen.dart and explore_screen.dart just use that reference after importing explore_controller.dart in them

Get rid of all redundant initialisations and achieve the as explained desired state

Motivation, pitch

Having less to no redundant initialisations would avoid the extra use of memory required why running the app thus boosting its performance

@Aarush-Acharya Aarush-Acharya changed the title Central Initialisation of Variables System for Less Redundant Initialisation of Variables Oct 8, 2024
@M4dhav
Copy link

M4dhav commented Oct 8, 2024

Hey, I can work on this. I have previously worked on similar stuff, please assign

@Aarush-Acharya
Copy link
Contributor Author

Hey @M4dhav, reduce as much redundancy in initializations as you can. Make sure to write clean and organised thinking at each step what code be made better to the system you design to add a better value to the project.

@Aarush-Acharya
Copy link
Contributor Author

Hey I have merged a PR please pull before working further and make sure to work on the dev branch

@Aarush-Acharya
Copy link
Contributor Author

Hey new PR merged please pull before moving forward

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

No branches or pull requests

2 participants