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.
|
|
 |

|
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!
|
|
|
|

|
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.
|
|
|
|

|
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.
|
|
|
|

|
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
|
|
|
|

|
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
|
|
|
|

|
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.
|
|
|
|

|
"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
|
|
|
|

|
This sounds like homework. Just use google.
|
|
|
|

|
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
|
|
|
|

|
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
|
|
|
|
 |
|
|
General
News
Suggestion
Question
Bug
Answer
Joke
Rant
Admin