As I already told you, I’m using the great record helpers for intrinsic types. XE3 already ships with the TStringHelper which is defined in System.SysUtils. I looked at the implementation and there a some parts that make me really disappointed.
... function TStringHelper.IsEmpty: Boolean; begin if Self = Empty then Result := True else Result := False; end; ...
Come on guys, this is a bad joke! Everyone who works at least one day with Delphi knows that he can write this code in one simple line.
... function TStringHelper.IsEmpty: Boolean; begin Result := Self = Empty; end; ...
I really hope that his issue will be fixed in XE4…
I just installed XE4 and it has been fixed! Another reason to move to XE4…