[fpc-devel] Local variable names and colision with attributes/properties names

Graeme Geldenhuys graeme at geldenhuys.co.uk
Thu Sep 27 18:58:33 CEST 2012


On 2012-09-27 17:52, Marcos Douglas wrote:
> 
> I agree that is much simpler... but why nobody, in another language,
> do the same? Does not worth it? I do not know.

Well, other languages have there own quirks like case sensitive
identifiers. Thank God, Object Pascal doesn't have that.

Just imagine.

  var
    MyName: string;
    MYNAME: string;
    MYName: string;
    myName: string;
    myname: string;
  begin
    ...
  end;

 :-D


Graeme.





More information about the fpc-devel mailing list