Tuesday 12 March 2013

Delphi XE After 1 year

I have now been using Delphi XE now for 1 year and I think it is the best version of Delphi I've used. I have 15 years of experience using various versions of Delphi from the stable Delphi 5 to the terrible Delphi 2005 and more recently Delphi 2006 and 2010.

Here are some pros and cons of this version of Delphi.

Pros
  • IDE layout is good and similar to Visual Studio and other development environments.
  • Quick to run, however this might be due to the PC I am running it on (8 MB RAM).
  • Code completion works really well.

Cons
  • Cost of the product, Delphi is still very expensive
  • Help is not complete, have come across some help which requests more information from the user (TDataSet.CopyFields).
  • You will need a fairly large screen, working on a small monitor will be annoying.
Soon I will be moving to XE3, which will hopefully have more features and will still be as stable as XE.


Thursday 7 March 2013

Time to string function

Here is a very simple time to string function.


function TimeToStr(dTime: Double): string;
begin
  Result := Format('%4.2f', [dTime]);
end;