7 Major versions later and Delphi hasn't improved a bit!

7 Major versions later and Delphi hasn't improved a bit! Delphi IDE's error insight complains about this perfectly valid code:

if aHeader.RecType.IsEmpty then
sl.Add('RecType is missing.');

where RecType is of type ROUTF8String and ROUTF8String is defined as follows:

type
ROUTF8String = string;

So it's just an alias for String really. Delphi IDE gives me a error that IsEmpty is not implemented for type ROUTF8String. But, when I compile the code, then magically the compiler itself is perfectly happy with it.

I came from XE3 to XE 10.2, and it seems that after 7 major versions, the IDE Error Insight has not improved a bit. Still the first "feature" you need to disable when using Delphi! Why do people still buy Delphi?

Comments