I am sad, that the new coding style in XE6 is:
I am sad, that the new coding style in XE6 is:
obj := TMyObject.Create;
try
...
finally
obj.DesposeOf
end;
See the vidoe at 0:38 sec
If they had Free properly implemented in ARC, we still could use try finally .Free patern.
obj := TMyObject.Create;
try
...
finally
obj.DesposeOf
end;
See the vidoe at 0:38 sec
If they had Free properly implemented in ARC, we still could use try finally .Free patern.
Comments
Post a Comment