In Computer science , Design patterns are model solutions for problems that occur very often . An important use of patterns in computer science is the idea of Design patterns . Design patterns are general solutions to problems in object-oriented programming .