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

Graeme Geldenhuys graemeg.lists at gmail.com
Fri Aug 6 13:57:44 CEST 2010


Op 2010-08-06 13:36, Paulo Costa het geskryf:
> 
>      SomeReallyLongVariableNameX += SomeReallyLongVariableNameY - 1;
> 
> is too much similar (visually) to
> 
>      SomeReallyLongVariableNameX := SomeReallyLongVariableNameY - 1;


Umm, hello... those two statements are not the same. To make the second
statement the same as the first, you would have to write.

  SomeReallyLongVariableNameX := SomeReallyLongVariableNameX +
SomeReallyLongVariableNameY - 1;




Regards,
  - Graeme -

-- 
fpGUI Toolkit - a cross-platform GUI toolkit using Free Pascal
http://opensoft.homeip.net/fpgui/




More information about the fpc-devel mailing list