`

What are Anti-Patterns?

 
阅读更多

Answer
There isn't really a "clean-cut" definition out there just yet, unlike Design Patterns. Basically, as Design Patterns (and more particularly, Process Patterns) try to codify a standard vocabulary for working solutions to problems that reappear frequently, Anti-Patterns represent an effort to define and classify reoccuring non-solutions, i.e., things that lots of projects do that fail to yield a solution, or actually prevent a project from working or being finished.

The most basic example I can think of is "The Hammer", inspired by the old addage, "If your only tool is a hammer, everything looks like a nail" (or the variation, "If your only tool is a hammer, everything looks like your left thumb." Hammer describes a regular, reoccuring problem in inexperienced engineers (particularly those who've only used one language for the bulk of their carreer so far), that of trying to force-feed all problems into the solutions they already know.

http://www.antipatterns.com/ has more information.

 

yes, there're lots of points which are worthwhile to do a research on...

1.clean-cut, as an adj, like "clear"

2.out there

3. inspired by the old addage    here the addage may be wrong, adage should be the right one

4.for the bulk of

5.force-feed

分享到:
评论

相关推荐

    JavaScript Patterns

    You'll also learn about anti-patterns: common programming approaches that cause more problems than they solve. * Explore useful habits for writing high-quality JavaScript code, such as avoiding ...

    Adaptive Code via C# (MS,2014)

    Review best practices for patterns and anti-patterns Master SOLID principles: single-responsibility, open/closed, Liskov substitution Manage the versatility of interfaces for adaptive code Perform ...

    React Design Patterns and Best Practices

    Key Features Dive into the core patterns and components of React.js in order to master your application's design Improve their debugging skills using the DevTools...Anti-Patterns to Be Avoided Next Steps

    Apress.Practical.UI.Patterns.for.Design.Systems.1484249372.rar

    This book shows you how to spot anti-patterns, how to mix and match patterns, and how they inform design systems. By helping the non-web professionals and junior web professionals of the world use ...

    ORMProfiler v1.1最新版程序源代码

    •Find data-access anti-patterns and programming mistakes •Find inefficient use of the database •Find slow queries •Gain insight in what code executes which queries •Gain insight in the ...

    CCD_descript

    What's CCD? ##### 1.1 Principal of Operation of CCD A Charge-Coupled Device (CCD) is a type of Metal-Oxide-Semiconductor (MOS) capacitor that functions as a fundamental component in digital imaging...

Global site tag (gtag.js) - Google Analytics