Quote:Original post by ApochPiQQuote:Original post by M2tM
Finally, one last point, I am not sure if this was directed at me or not:Quote:ApochPiQ: Also, on a related note, refactoring code to suit a pattern is just boneheaded religion.
When I said this:Quote:Many simple medium sized projects don't really make any special attempt at having a standard architecture and often omit the use of patterns pretty much entirely. Only through rigorous refactoring would they be discovered.
I meant what I said. I didn't mean refactoring code to suit a pattern, but rather in refactoring structureless blob-like code you'd probably end up formalizing and adding patterns by accident even if you didn't know that's what they were. If my first comment in this thread went unnoticed and people are misreading me by thinking I'm advocating refactoring to suit patterns I strongly urge you to re-read my first post with <sarcasm> tags around it.
No, that wasn't directed at you at all. It was just a general remark. In fact I like your wording a lot - patterns are to be discovered, not driven towards.
Cool, the paranoia kicked in when I read it and realized I said "refactoring" and "patterns" in the same sentence (kinda via reference with "they"). :D