How to know when some code needs a design pattern?
What are some triggers/rules which when you notice, you realize that its time to apply a design pattern to your code? 

I have learnt some design patterns, but I still find myself doing things the old way, with no real difference than when I didn't know design patterns.
How to know when some code needs a design pattern?
===

What are some triggers/rules which when you notice, you realize that its time to apply a design pattern to your code? 

I have learnt some design patterns, but I still find myself doing things the old way, with no real difference than when I didn't know design patterns.