The Wiert Corner – irregular stream of stuff

Jeroen W. Pluimers on .NET, C#, Delphi, databases, and personal interests

  • My badges

  • Twitter Updates

  • My Flickr Stream

  • Pages

  • All categories

  • Enter your email address to subscribe to this blog and receive notifications of new posts by email.

    Join 1,860 other subscribers

GoF Patterns in Delphi | Implementations of the famous Gang of Four Design Patterns in Delphi language – via Nick Hodges

Posted by jpluimers on 2015/08/20

Thanks to Nick Hodges for having Delphi-losophy | Flotsam and Jetsam #88 point me to GoF Patterns in Delphi | Implementations of the famous Gang of Four Design Patterns in Delphi language.

–jeroen

2 Responses to “GoF Patterns in Delphi | Implementations of the famous Gang of Four Design Patterns in Delphi language – via Nick Hodges”

  1. jpluimers's avatar

    jpluimers said

    Via Bill Meyer (https://plus.google.com/u/0/116796697726489991981) on the G+ thread (https://plus.google.com/u/0/+JeroenPluimers/posts/7pvCtmx9AQ6):

    Also worth noting: http://www.yanniel.info/p/delphi-programming.html

    Some of his articles are on patterns.

  2. abouchez's avatar

    abouchez said

    IMHO this is nice, but sometimes too close to Java/C#.
    For instance, the factory pattern is natively implemented by the

    type
      TMyClassClass = class of TMyClass; 
    var 
      aClassType: TMyClassClass; 
      aInstance: TMyClass; 
    begin 
      aClassType := TMyClass; 
      aInstance: aClassType.Create
    

    pattern since Delphi 1.

    I’ve seen so many Java/C# projects applying GoF patterns just for the “fun” to apply them. Totally uncoupled from the actual work it was meant to do… even sometimes breaking the SOLID principles, just to apply a given pattern.

Leave a reply to jpluimers Cancel reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.