Click here to Skip to main content

Welcome to the Lounge

   

For lazing about and discussing anything in a software developer's life that takes your fancy.
The Lounge is rated PG. If you're about to post something you wouldn't want your kid sister to read then don't post it. No flame wars, no abusive conduct and please don't post ads.

Technical discussions are welcome, but if you need specific help please use the programming forums.


 
You must Sign In to use this message board.
Search this forum  
    Spacing  Noise  Layout  Per page  Show 
GeneralC# GoF Design pattern usagememberGohan_Coder13 Nov '12 - 8:24 
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!

GeneralRe: C# GoF Design pattern usageprotectorPete O'Hanlon13 Nov '12 - 8:34 
This sounds incredibly like an attempt to get homework answered. By the way, you don't have to enclose none code snippets in the pre tags. It just looks odd.

*pre-emptive celebratory nipple tassle jiggle* - Sean Ewington

"Mind bleach! Send me mind bleach!" - Nagy Vilmos

CodeStash - Online Snippet Management | My blog | MoXAML PowerToys | Mole 2010 - debugging made easier

GeneralRe: C# GoF Design pattern usagemvpChristian Graus13 Nov '12 - 9:39 
He copied and pasted from the QA forum, and the site auto coded it. You see it in QA a lot where people ask every forum they can think of the same question.
Christian Graus
 
Driven to the arms of OSX by Vista.
 
Read my blog to find out how I've worked around bugs in Microsoft tools and frameworks.

GeneralRe: C# GoF Design pattern usagememberGohan_Coder13 Nov '12 - 11:10 
Apologies for posting same thing in two places.
Christian mentioned that it would be better fitted in the lounge, thus me posting this general question here...
To be honest, I thougt it would make for a good discussion to see where people actually use te paterns in real business applications and their experience with it, but after reading some replies from the others i take it i am wrong.
Thanks anyway
GeneralRe: C# GoF Design pattern usagemembermark merrens13 Nov '12 - 8:43 
You use them wherever you think it appropriate to do so without slavishly adhering to the hype where you come to expect a 'design pattern' to solve every problem. They don't.
"If you think it's expensive to hire a professional to do the job, wait until you hire an amateur." Red Adair.
nils illegitimus carborundum
 
me, me, me

GeneralRe: C# GoF Design pattern usagememberCDP180213 Nov '12 - 9:38 
Allow me to add this: Also don't adhere to any pattern itself. Feel free to modify it if you see the need to do so. There is no single right way to do anything.
GeneralRe: C# GoF Design pattern usagemembermark merrens13 Nov '12 - 10:03 
Thumbs Up | :thumbsup:
"If you think it's expensive to hire a professional to do the job, wait until you hire an amateur." Red Adair.
nils illegitimus carborundum
 
me, me, me

GeneralRe: C# GoF Design pattern usagememberwizardzz13 Nov '12 - 8:49 
This sounds like homework. Just use google.
GeneralRe: C# GoF Design pattern usagememberMaximilien13 Nov '12 - 8:51 
To my knowledge, I only deliberately used 1 or 2 in 20 years+ (mostly the ubiquitous Singleton).
 
I probably have used (abstract)factories, Builders, composite, observer and others without knowing they were actually patterns.
 
When designing code, one find itself doing a lot of things that have been named by others and are found to be "standard" in some form or others.
 
Good luck with your homework.
Nihil obstat

GeneralRe: C# GoF Design pattern usagememberCDP180213 Nov '12 - 9:43 
Sure you have, at least if you ever hooked up an event handler method to some event of a control. There you already have a pattern in use Smile | :)

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Rant Rant    Admin Admin   


Advertise | Privacy | Mobile
Web04 | 2.6.130523.1 | Last Updated 25 May 2013
Copyright © CodeProject, 1999-2013
All Rights Reserved. Terms of Use
Layout: fixed | fluid