Remix.run Logo
JohnHaugeland 16 hours ago

these aren’t anti patterns. these are just things you shouldn’t do

em500 16 hours ago | parent | next [-]

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

anotherevan 6 hours ago | parent | next [-]

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 15 hours ago | parent | prev [-]

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 12 hours ago | parent | next [-]

> 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 10 hours ago | parent [-]

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

JadeNB 15 hours ago | parent | prev [-]

> 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 14 hours ago | parent | prev | next [-]

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

evanelias 14 hours ago | parent | next [-]

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 12 hours ago | parent | prev [-]

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 15 hours ago | parent | prev [-]

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