type
TPerson = class(TObject)
name : string;
constructor create(name : string);
end;
would trigger compiler error.
I think a self
or this
pointer/reference is good enough,for its clarity.So,what are the advantages of doing so?
EDIT: One more question,could you show what are the other languages that depoly this policy?
thanks.