The constructor of GeneralClass is quite huge and also when inherited every child will get the all unneeded options.
I am going to divide options into properties and will call only when necessary - lazy option loading.
The next is to eliminate inheritance and use composition instead.
The constructor of GeneralClass is quite huge and also when inherited every child will get the all unneeded options. I am going to divide options into properties and will call only when necessary - lazy option loading. The next is to eliminate inheritance and use composition instead.