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,706 other followers

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 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 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

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

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

 
%d bloggers like this: