Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to vote.
See more: C#4.0GoF
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
Comments
Gohan_Coder at 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
good
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.
  Permalink  
Comments
Pete O'Hanlon at 13-Nov-12 15:12pm
   
Gohan_Coder's univote countered.
Christian Graus at 13-Nov-12 15:28pm
   
I honestly think some people think that a 1 vote means that my post was 'number 1'. Thanks :-)
Nelek at 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
Your Filters
Interested
Ignored
     
0 Sergey Alexandrovich Kryukov 375
1 Abhinav S 333
2 OriginalGriff 330
3 sanket saxena 305
4 CPallini 205
0 Sergey Alexandrovich Kryukov 8,497
1 OriginalGriff 4,850
2 Peter Leow 3,839
3 Maciej Los 3,515
4 Er. Puneet Goel 3,107


Advertise | Privacy | Mobile
Web01 | 2.8.140415.2 | Last Updated 13 Nov 2012
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Use
Layout: fixed | fluid