Introduction to GRASP principles


show more GRASP stands for General Responsibility Assignment Software Patterns and it refers to who has the responsibility of creating objects, getting them to interact, etc. GRASP is one of the foundations of object-oriented design principles. This tutorial offers an introduction to GRASP principles you can use in drawing up UML diagrams to figure out the responsibility of your objects in your programming. show less
please wait ...

Introduction to GRASP principles

Now let's explore one more set of object-oriented design principles. This is GRASP, short for General Responsibility Assignment Software Patterns. And as you will see, the principles here take a slightly different perspective than the five principles found in SOLID, although there is certainly some crossover. GRASP tends to take a responsibility focus as in who creates this object, who is in charge of how these objects talk to each other, who takes care of passing all messages received from a user interface? Now SOLID and GRASP don't conflict with each other, they are not competing sets, you might choose to use one or both or neither.

And there are nine ideas in GRASP, but again, it's not about memorizing these. I'm just trying to provide an introduction to the fact that they exist. This is not dogma, these are not rules, but you may find GRASP a useful learning tool to keep in mind while drawing up UML diagrams to provide some techniques for figuring out the responsibilities of you...

Introduction to GRASP principles
Video duration: 8m 19s 3h 1m Intermediate

Viewers:

GRASP stands for General Responsibility Assignment Software Patterns and it refers to who has the responsibility of creating objects, getting them to interact, etc. GRASP is one of the foundations of object-oriented design principles. This tutorial offers an introduction to GRASP principles you can use in drawing up UML diagrams to figure out the responsibility of your objects in your programming.

Subject:
Developer
Software:
Java
Author:
please wait ...