[fpc-pascal] += property bug?

James Richters james at productionautomation.net
Thu Aug 15 00:47:36 CEST 2019


I agree, I hate the self. And this.  I really don't even understand them... I'll keep Freepascal too, which I've been able to do more with than I ever imagined possible.

James
>I also think to the worse case, in Java, when you need to type something like a.SetX( a.GetX()+1) ...
>And to Python, where in the code of the methods I need to prefix all accesses to methods and attributes of the object with "self." I have some code self. self. self. everywhere ...
>Variant in Javascript: this. this. this.
>Variant in PHP: $this. $this. $this.



More information about the fpc-pascal mailing list