[fpc-devel] Re: Debugger for FPC

Jonas Maebe jonas.maebe at elis.ugent.be
Sat Mar 14 09:31:22 CET 2009


On 14 Mar 2009, at 09:16, dmitry boyarintsev wrote:

> writing a property directly in the field is a hack

No, it's guaranteeing future compatibility, because by using a  
property you ensure that you can later on replace the setter with a  
procedure if necessary, without breaking existing source code (at  
least in FPC 2.3.1; FPC 2.2.x misses several checks, allowing you to  
do all sorts of things with properties directly mapped to fields that  
should not be possible).


Jonas



More information about the fpc-devel mailing list