Core concern

From Wikipedia, the free encyclopedia


Some information in this article or section has not been verified and may not be reliable.
Please check for any inaccuracies, and modify and cite sources as needed.

In computer science, a core concern is one of the main concerns a program is written for.

[edit] Example

If writing an application for handling medical records, the bookkeeping and indexing of such records is a core concern, while logging a history of changes to the record database or user database, or an authentication system, would be cross-cutting concerns since they touch more parts of the program.

The sum of all core concerns is the business logic of a program, while all other aspects of the program are needed for proper execution, but not part of the actual business logic.

See aspect-oriented programming, separation of concerns and concern for more details.

In other languages