Chat sui Design Patterns

Questa sera ho partecipato alla chat sui Design Patterns organizzata da Emanuele. E' stata molto interessante, un esperimento da ripetere, la discussione era piuttosto fluida e le opinioni dei partecipanti molto interessanti.

Ne approfitto per rettificare una mia affermazione su Vlissides e il pattern Singleton: non era lui a proporne la rimozione dal liblro della GoF, o quantomeno non ho più trovato sue affermazioni in merito nonostante ci siano suoi scritti critici in merito, la mia convinzione veniva da un'errata associazione di idee con un vecchio post di Fowler sul suo blog (commento all'OOPSLA2004, http://www.martinfowler.com/bliki/OOPSLA2004.html), che riporto, dal quale si evince che Singleton è in generale considerato da molti come un pattern da rimuovere tra la lista di quelli "buoni":

 

Before the beginning of the conference proper I attended a workshop on reappraising the GoF book, ten years after it came out. ...

We did a number of discussions around the what next theme, perhaps the most interesting one to report was an exercise in considering some to 'vote off the island'. People voted on the patterns to indicate which ones they felt needed deletion in the current form.

Four patterns were voted off. Factory Method (due to the confusion over what it means - the pattern is different to the more common usage of the term), Bridge, Flyweight, and Interpreter. Two patterns, Singleton and Chain of Responsibility, were split decisions.

I found the votes and discussions interesting. Of course it's hard to really consider this without looking at alternatives. I was surprised that Singleton got away with a split decision, considering how unpopular it's become amongst my friends. Most of the others were voted off because people felt they were sufficiently uncommon and that other patterns would probably take their place, sadly we didn't have time to consider new members.

 

 

powered by IMHO 1.3

posted @ Monday, November 27, 2006 11:51 PM

Print

Comments on this entry:

# re: Chat sui Design Patterns

Left by morris at 10/30/2014 5:15 PM
Gravatar
appeal trends recent money selling check credit score connection economic collection

# United States Online Pharmacies Viagra Ellalcofs

Left by Ellrorn at 6/13/2018 5:36 PM
Gravatar
Amoxicillin Invention Side Effects Of Canine Amoxicillin buy cialis Levitra 20 Mg Kaufen Walmart Pharmacy Drug Prices

Your comment:



 (will not be displayed)


 
 
 
Please add 5 and 5 and type the answer here:
 

Live Comment Preview: