I'm requesting opinions here gurus.
My project requires a lot of globabl data. So my question is which way is better.
1. I can create a class with static variables and static functions - which I import into my classes to get access to these variables and functions.
2. I can create a class with these variables and functions and extend this class as the base class with every class I make.
I'm thinking to use method 1 but interested which you think is better.