[fpc-devel] Proposal: Enhanced replacement for assignment operators
Michalis Kamburelis
michalis.kambi at gmail.com
Fri Aug 6 07:19:34 CEST 2010
Vinzent Höfler wrote:
> Alexander Klenin <klenin at gmail.com>:
>
>> 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.
Michalis
More information about the fpc-devel
mailing list