Click here to Skip to main content
15,890,557 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
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
Comments
David Combrinck 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

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.
 
Share this answer
 
Comments
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)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900