December 14, 2007
Handbook Note 59/113: Calling Base Class Constuctor
Note 59 of 113 of Delphi 2007 Handbook
Note 59: In Delphi for .NET, every constructor must call the base class constructor first. This is the same rule that many OOP languages have. To follow what is good coding practice (and also for code compatibility with a future port to .NET), you should generally add a base class constructor call in every constructor of your Delphi Win32 code, even if this is not compulsory and the extra call might be useless (like when calling TObject.Create).
This blog post is part of my "113 Delphi 2007 Handbook Notes" blogging project, to promote my new Delphi book.
0 Comments
Post Your Comment
Click here for posting your feedback to this blog.
There are currently 0 pending (unapproved) messages.
