Will you use an anti-pattern if it gets your job done easily without any side effects?

RE:

Some time ago I will say "yes, sure" without hesitation. Now I'd be more careful. The thing with anti-patterns is that they are anti-patterns for a reason. Even if I don't see any negative sides now, it does not mean the won't surface in the future. I've seen it in the code too many times already. And such shortcuts are usually very difficult to untangle later.

Reply to this…

(7 answers) Take me to the question