[fpc-pascal] some new features to delphi prisem
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'?
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
- Graeme -
fpGUI - a cross-platform Free Pascal GUI toolkit
More information about the fpc-pascal