[fpc-devel] Proposal: Enhanced replacement for assignment operators

Hans-Peter Diettrich DrDiettrich1 at aol.com
Fri Aug 6 15:59:51 CEST 2010

Michalis Kamburelis schrieb:

>>> C-like operators reduce the number of required punctuation --
>>> I always think that the extra punctuation is bad for readability.
>> Rght. Shrt sntncs r mch sr t rd.


> This is more about
>   SomeReallyLongVariableNameX += 10;
> being nicer to read than
>   SomeReallyLongVariableNameX := SomeReallyLongVariableNameX + 10;
> You don't have to spend time realizing that it's the same variable (not
> e.g. SomeReallyLongVariableNameY) if you read the 1st form.

Right, that's why I prefer Inc in this case - until properties stopped 
working this way :-(


More information about the fpc-devel mailing list