concept detail in category aspectj

appears as: details, detail, details
AspectJ in Action, Second Edition

This is an excerpt from Manning's book AspectJ in Action, Second Edition.

Although the details will vary, the listing shows a common problem many developers face: a conceptual separation exists between multiple concerns at design time, but implementation tangles them together. Such an implementation also breaks the Single Responsibility Principle (SRP)[1] by making the class responsible for implementing core and crosscutting concerns. If you need to change the invocation of the code related to crosscutting concerns, you must change each class that includes such an invocation. Doing so breaks the Open/Close principle[2]—open for extension, but closed for modifications. The overall consequence is a higher cost of implementing features and fixing bugs.

1 The Health Insurance Portability and Accountability Act—HIPAA—in the USA, among other things, mandates certain privacy policies. See http://en.wikipedia.org/wiki/HIPAA for details.