[fpc-pascal] some new features to delphi prisem
Graeme Geldenhuys
graemeg.lists at gmail.com
Sun Feb 21 19:03:10 CET 2010
On 21 February 2010 17:00, Michalis Kamburelis <michalis.kambi at gmail.com> wrote:
>
> Which also means "less chance of mistake". For example, if you decide
> later to change "y" to "y1", you only have to change the code in one
> place, not three.
Unfortunately you are wrong Michalis. Ever heard of 'syncron-edit'?
http://wiki.freepascal.org/New_IDE_features_since#Syncron-Edit
You only need to change one variable, and all other instances will
change to. And syncron-edit applies to any selection of text. So
already works in more cases.
I vote against adding this language feature. It's not pascal-like and
actually makes the code harder to read. It also only applies to simple
assignment. Case begin..end blocks can do much more than simple
oneliners.
--
Regards,
- Graeme -
_______________________________________________
fpGUI - a cross-platform Free Pascal GUI toolkit
http://opensoft.homeip.net/fpgui/
More information about the fpc-pascal
mailing list