1VOTES VOTE Hide the utter "Create" constructor of TObject in Delphi Yanniel In Delphi, constructors can be inherited; this doesn’t happen in Java, C# and C++ for example. Furthermore, constructors in Delphi can have multiple and different names; usually they are called Create, but this is just… … Read more 13 years ago in Computers, Delphi, Delphi Programming, Object Pascal Programming, Object-Oriented Programming, programming 0
1VOTES VOTE Parameterized Factory Method in Delphi Yanniel Factory Method is a creational design pattern, whose intent (according to Design Patterns: Elements of Reusable Object-Oriented Software) is to:“Define an interface for creating an object, but let subclasses decide which class to instantiate. Factory… … Read more 13 years ago in Creational Patterns, Delphi, Delphi Programming, Design Patterns, Object-Oriented Programming, pascal, programming 0
1VOTES VOTE Template Method Design Pattern in Delphi. A working example Yanniel The Template Method Pattern is very easy to understand and implement. Here’s the definition borrowed from Design Patterns: Elements of Reusable Object-Oriented Software book:“Define the skeleton of an algorithm in an operation, deferring some steps… … Read more 14 years ago in Behavioral Patterns, Delphi, Delphi Programming, Design Patterns, Object-Oriented Programming, pascal, programming, Template Method 0