IMHO:
- We need to move forward with the config.go file and suggestion by adding first the const ( which will be done by [~lfitzgerald] in her PR) - Then we need analysed the MSS-Operator code/project and check which should be in the config.go. - *So, just if we find code impl which is NOT only a const makes sense move forward with [~endaphelan] suggestion of it be a struct/object and split it in properties for the const and config for what is not immutable and can assume diff values in each instance .*
h4. IMPORTANT:
* Usually, when a project is designed it is called properties files which are made by the constant. No make sense to have an object to return just/only const values, it will not follow the good practices and will allocate more memory space.
* The const values will allocate an address in the memory and if we create a class to store fixed values and immutable values it means that we will create many instances and many addresses of memory to store the same constant unnecessary.
ConfigObject.InstaceA.image = "image value" ConfigObject.InstaceB.image = "image value" ConfigObject.InstaceC.image = "image value"
c/c [~endaphelan] |
|