File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Testing and the fly likes Anti Patterns Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » Testing
Bookmark "Anti Patterns" Watch "Anti Patterns" New topic
Author

Anti Patterns

Vijitha Kumara
Bartender

Joined: Mar 24, 2008
Posts: 3816

Hi Paul,

I would like to know what is it about "anti-patterns" chapter of the book?

Thanks,


SCJP 5 | SCWCD 5
[How to ask questions] [Twitter]
Paul Butcher
author
Ranch Hand

Joined: Nov 26, 2009
Posts: 41
With pleasure, Vijitha,

We're all familiar with patterns - solutions to common problems that arise again and again.

Anti-patterns are the dark side of patterns - common mistakes we fall into repeatedly. Sometimes they seem to be good solutions that experience has demonstrated don't work in practice. On other occasions, we know that they're not a good idea, but we fall into them anyway.

An example. one of the anti-patterns described Chapter 11 is Firefighting - a mode of behaviour in which, faced with a number of critical problems, we rush from one to another doing just enough to put out the worst fire before moving onto the next.

We’re all prone to it. When customers, managers, or colleagues are screaming at you and critical deadlines are approaching, it can seem as though you have no choice. Rarely, it can be appropriate behaviour - sometimes you really do just have to do whatever it takes to get the immediate problems out of the way.

It’s a big problem, however, if you find yourself falling into firefighting mode regularly or for extended periods.


paul.butcher->msgCount++

Author of Debug It!: Find, Repair, and Prevent Bugs in Your Code
Vijitha Kumara
Bartender

Joined: Mar 24, 2008
Posts: 3816

Thanks Paul
 
jQuery in Action, 2nd edition
 
subject: Anti Patterns
 
Similar Threads
This weeks book Giveaway:
Tame Wild EJBs? (chapter 13)
HF Design Patterns: Amelioration Patterns
Is the book best for beginning user?
AOP Patterns