May sound like an odd wish, but why do we have to call initialize on objects that take no parameters?
for example
Surely the fact we have called Dim/Private etc should be sufficient to have the object initialized for us.
Obviously, for objects that take parameter(s) it makes sense to have to call the initialize routine.
So my wish is, on objects that take no parameters on their initialize, can that be done when they are defined. (just like int does).
for example
B4X:
Dim sb as StringBuilder
....
sb.Initialize
...
Surely the fact we have called Dim/Private etc should be sufficient to have the object initialized for us.
Obviously, for objects that take parameter(s) it makes sense to have to call the initialize routine.
So my wish is, on objects that take no parameters on their initialize, can that be done when they are defined. (just like int does).