Exforsys

Online Training

anti pattern

This is a discussion on anti pattern within the Software Patterns forums, part of the Testing category; Hello, Witch off the following patterns are anti patterns? singleton factory abstract factory builder prototype adapter composite proxy flyweight facade ...


Go Back   Exforsys > Testing > Software Patterns

Register FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 12-06-2005, 03:03 PM
ledouxsteven@hotmail.com
Guest
 
Posts: n/a
anti pattern

Hello,

Witch off the following patterns are anti patterns?

singleton
factory
abstract factory
builder
prototype
adapter
composite
proxy
flyweight
facade
bridge
observer
mediator
chain off responsibility
template
interpreter
strategie
visitor
state
command
iterator

Thx

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 12-07-2005, 06:24 AM
Lorenzo Bettini
Guest
 
Posts: n/a
Re: anti pattern

ledouxsteven@hotmail.com wrote:
> Hello,
>
> Witch off the following patterns are anti patterns?
>
> singleton
> factory
> abstract factory
> builder
> prototype
> adapter
> composite
> proxy
> flyweight
> facade
> bridge
> observer
> mediator
> chain off responsibility
> template
> interpreter
> strategie
> visitor
> state
> command
> iterator
>
> Thx
>


as far as I know, none of them... spaghetti-code is an antipattern

--
+-----------------------------------------------------+
| Lorenzo Bettini ICQ# lbetto, 16080134 |
| PhD in Computer Science |
| Dip. Sistemi e Informatica, Univ. di Firenze |
| Tel +39 055 4237460, Fax +39 055 4237437 |
| Florence - Italy (GNU/Linux User # 158233) |
| Home Page : http://www.lorenzobettini.it |
| http://music.dsi.unifi.it XKlaim language |
| http://www.purplesucker.com Deep Purple Cover Band |
| http://www.gnu.org/software/src-highlite |
| http://www.gnu.org/software/gengetopt |
| http://www.lorenzobettini.it/software/gengen |
| http://www.lorenzobettini.it/software/doublecpp |
+-----------------------------------------------------+
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 12-11-2005, 01:25 PM
iscy
Guest
 
Posts: n/a
Re: anti pattern

Yes. Lorenzo is right. All those patterns are coming from the book
GoF95 and all of them are real design patterns.

Anti-patterns are things that can happen in software done by beginner
and that are really easy to see. For instance, the God class (also
known as code bloat), or the spaghetti code. Anti-pattern puts name of
bad pratices and show you how to fix those things in your code. The fix
is done by refactoring the bad pieces, but they explain which pattern
can be used in order to not get into another anti-pattern.

There is tons of list of anti-pattern on the Internet. Just take a
look... it won't be hard to find a few.

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 12-29-2005, 10:46 PM
Nick Malik [Microsoft]
Guest
 
Posts: n/a
Re: anti pattern

Looks like a term paper question.

Some folks have made the case that 'singleton' is a pattern when used well,
and an anti-pattern as commonly used. That's the only one of the GOF
patterns that I know of that can be seen as both, but I suppose any pattern
used poorly can be considered 'bad'.

--
--- Nick Malik [Microsoft]
MCSD, CFPS, Certified Scrummaster
http://blogs.msdn.com/nickmalik

Disclaimer: Opinions expressed in this forum are my own, and not
representative of my employer.
I do not answer questions on behalf of my employer. I'm just a
programmer helping programmers.
--
<ledouxsteven@hotmail.com> wrote in message
news:1133894996.692787.182490@g44g2000cwa.googlegroups.com...
> Hello,
>
> Witch off the following patterns are anti patterns?
>
> singleton
> factory
> abstract factory
> builder
> prototype
> adapter
> composite
> proxy
> flyweight
> facade
> bridge
> observer
> mediator
> chain off responsibility
> template
> interpreter
> strategie
> visitor
> state
> command
> iterator
>
> Thx
>



Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -4. The time now is 11:16 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.1.0
Copyright 2004 - 2007 Exforsys Inc. All rights reserved.