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

Alexander Klenin klenin at gmail.com
Fri Aug 6 12:18:27 CEST 2010


On Fri, Aug 6, 2010 at 17:56, Graeme Geldenhuys <graemeg.lists at gmail.com> wrote:
> Op 2010-08-06 05:05, Alexander Klenin het geskryf:
>> I specifically replace all usage of Inc/Dec and Include/Exclude in my
>> Pascal programs
>> by += / -= *to increase readability*.
>> And I think it really helps ;-)
>
> :-) I do the same, and use += and -+ more - simply to save on typing. But
> what Jane proposes is really not easy to read or understand. Only after he
> explained the syntax, I understood - which means he is going in the wrong
> direction for the pascal language.

Sure. Note that I am supporting only a very limited subset of his proposal --
namely, that the set of assignment operators should be extended to include
all Pascal operators, not just + - * / as it is now.

-- 
Alexander S. Klenin



More information about the fpc-devel mailing list