OK I get it, but it's toally unclear for someone who will buy one of our modules.
I prefer
MyType:AType = Atype.Create(params)
And Create is a function inside the AType declaration that returns an AType. Create also often initilises at the same time, hense the params I pass in. But this is also why if you extend AType to BType you can't override function Create with different parameters...
I prefer
MyType:AType = Atype.Create(params)
And Create is a function inside the AType declaration that returns an AType. Create also often initilises at the same time, hense the params I pass in. But this is also why if you extend AType to BType you can't override function Create with different parameters...