em500 11 hours ago

Still waiting for the definitive article on how using the term anti-pattern is an anti-pattern.

  • anotherevan an hour ago

    Well you do have to be careful, because if patterns and anti-patterns come into contact it could cause an explosive conflagration of regular expressions all over the place.

  • readthenotes1 11 hours ago

    If a pattern is a common problem (e.g., becoming accustomed to a spectacular view) and generally-useful solution to that problem (blocking the view so that effort is required to obtain it), then an anti-pattern is what?

    I think most people think an anti-pattern is an aberration in the "solution" section that creates more problems.

    So here, the anti-pattern is that people use a term so casually (e.g., DevOps) that no one knows what it's referring to anymore.

    (The problem: need a way to refer to concept(s) in a pithy way. The solution: make up or reuse an existing word/phrase to incorporate the concept(s) by reference so that it can can, unambiguously, be used as a replacement for the longer description. )

    • JohnHaugeland 7 hours ago

      > If a pattern is a common problem

      it isn't, is the thing.

      if you read the book design patterns, they spell out what a pattern is.

      if you read the book anti-patterns, he spells out what an anti-pattern is.

      people have gotten the wrong idea by learning the phrases from casual usage.

      • MaxBarraclough 5 hours ago

        Pointing to books isn't very helpful here. Please just state the definition you are advocating.

    • JadeNB 10 hours ago

      > If a pattern is a common problem (e.g., becoming accustomed to a spectacular view) and generally-useful solution to that problem (blocking the view so that effort is required to obtain it), then an anti-pattern is what?

      Strange choice of example! I'm not sure I agree that your example is a common problem, and I'm even less sure that the proposed solution to it is generally useful.

hobs 10 hours ago

https://pragprog.com/titles/bksqla/sql-antipatterns/ There's an actual book on them that had me nodding along the entire time.

  • evanelias 9 hours ago

    Agreed, it’s an excellent book by a great author. Bill is also quite prolific on Stack Overflow, and generally if you see an answer from him there, you can be confident it’s solid advice.

  • JohnHaugeland 7 hours ago

    that's a fantastic book; one of the best i've read, and i'm glad to see it get brought up

    but also, the book anti-patterns is pretty clear here

karmakaze 10 hours ago

I'm waiting for the anti-patterns we shouldn't avoid.