Inhalte

Common Practices: Scope Pointer

Table of Contents

This is me

The use of the scope pointer THIS for member variables, properties, method calls and action calls within a class is mandatory. It is unreasonable from the readability, if e.g. in a setter the parameter foo is assigned to the member variable foo and no scope pointer is used. Forbidden foo := foo;, required THIS^.foo := foo;.