Lazarus
Free Pascal => General => Topic started by: Raul_ES on April 20, 2021, 12:07:04 am
-
Hi,
I just want to share with you a page where you can find many design patterns written in Delphi, if you may be interested:
github.com/jimmckeeth/DelphiPatterns (http://github.com/jimmckeeth/DelphiPatterns)
regards,
-
@Raul_ES
I just want to share with you a page where you can find many design patterns written in Delphi, if you may be interested:
github.com/jimmckeeth/DelphiPatterns
Thanks for sharing. Isn't Jim McKeeth a delphi evangelist?
On a side note, design patterns are useful things, but people sometimes go overboard. I saw this before on job interviews, if you don't know what a singleton is they will shot you instantly without any further questions :). Therefore design patterns are abused and overused.
-
There are way more Pascal implementations of The Gang Of Four design patterns available.
And yes, he is currently a Delphi Evangelist.
He is a long time Delphi user, but I don't know if he was the above already 5 years ago. (repository dates)
Delphi 7 already came with GoF in some editions
-
@Thaddy
There are way more Pascal implementations of The Gang Of Four design patterns available.
Yeah, the gang of four, I almost forgot. :) The design pattern bible for some programmers.
-
GoF was the mandatory reading in the design patterns course at faculty. IMHO it was hard to read...
-
Here you will find more examples, not only in Pascal. There's also general info about patterns, anti-patterns, etc
https://sourcemaking.com/ (https://sourcemaking.com/)
-
A design pattern is language agnostic. That can be hard to read if you keep the perspective of a language. It is science, philosophy. It is also essential, if you agree with the patterns or not.