Click here to Skip to main content
13,052,558 members (73,482 online)
Rate this:
Please Sign up or sign in to vote.
See more:
Ive used a couple of the GoF pattens in my applications as well as read articles and books on them, i however want to find out from the rest of you guys where you used the patterns before?
So, if you could list examples or short descriptions where you have used the various Behavioral, Creational and Structural patterns in real production applications that would be awesome!
Posted 13-Nov-12 7:06am
Gohan_Coder 13-Nov-12 17:25pm
Thanks for the quick responce. Although not quite what i was looking for, but i do agree that using just for the sake of using is pointless...
Just thought that by getting some overview of how others, or where others (in what situations, problem/solutions) have used which patterns would be quite usefull for someone to get the "real use cases" and scenarios in actual applications. Especially for guys starting out and learning more....
Most things i found when i started digging on patterns was always random very useless examples to explain the concepts etc, but not really in diff types of actual applications.
Hence me trying to get something like that from fellow developers who has used them in real scenarios and business applications.

Thanks anyway for the comments!

1 solution

Rate this: bad
Please Sign up or sign in to vote.

Solution 1

This is not really a programming question, it's more of a lounge discussion IMO ( although I bet if you tried that, you'd be told to ask here ). The honest truth is, people go too far with the GoF stuff. It's not like you need to use them all. I don't even remember the patterns you mention, nor have I memorised them all. I think some are used more than others and some almost never. I also think that you can make your code convoluted in an attempt to chase use of patterns above what is needed. I do think they have their place, but they are not a magic bullet. I've seen insane books that try to create other 'patterns' where pretty much everything in those books is close to useless. GoF is the best book on the topic. Just don't feel like you get points for using as many GoF patterns as possible in general, or in a project. Use as needed, same as everything else.
Pete O'Hanlon 13-Nov-12 15:12pm
Gohan_Coder's univote countered.
Christian Graus 13-Nov-12 15:28pm
I honestly think some people think that a 1 vote means that my post was 'number 1'. Thanks :-)
Nelek 13-Nov-12 16:46pm
Op wrote you an answer in solution 2

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Top Experts
Last 24hrsThis month

Advertise | Privacy | Mobile
Web02 | 2.8.170713.1 | Last Updated 13 Nov 2012
Copyright © CodeProject, 1999-2017
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100