GRASP (object-oriented design) (source code)

= GRASP (object-oriented design)
{wiki=GRASP_(object-oriented_design)}

GRASP, which stands for General Responsibility Assignment Software Patterns, is a set of principles used in object-oriented design to guide the assignment of responsibilities to classes and objects in a software system. Developed by Craig Larman, GRASP includes nine fundamental principles that help developers create more maintainable, cohesive, and effective designs by promoting good object-oriented practices. Here are the nine GRASP principles: 1. **Information Expert**: Assign a responsibility to the class that has the information necessary to fulfill it.