Encyclopedia > Concern

  Article Content

Concern

A concern is a problem or thing you worry about or care about.


In computer science a concern is a problem your program tries to solve, whereby a core concern is one of the reasons that program is written for (such as credit card billing or sending email), and cross-cutting concerns[?] are aspects of a program, that do not relate to the core concerns directly, but are needed for proper program execution.

Separation of concerns (SOC) is an important goal in program design. As long as calls to cross-cutting concerns such as logging, object persistence, etc. are simply put everywhere into the source code where needed this leads to a highly coupled system that is hard to change. Because every time you change a feature of these cross-cutting concerns, you may need to recompile a lot of source files and check a lot of calls for consistency. And every time you change the signature of an operation, you have to change all calls to that operation, again touching many separate source files.

Isolating these cross-cutting concerns is the goal of aspect-oriented programming.



All Wikipedia text is available under the terms of the GNU Free Documentation License

 
  Search Encyclopedia

Search over one million articles, find something about almost anything!
 
 
  
  Featured Article
242

... 190s 200s 210s 220s 230s - 240s - 250s 260s 270s 280s 290s Years: 237 238 239 240 241 - 242 - 243 244 245 246 247 Events Patriarch Titus[?] succeeds Patriarch ...

 
 
 
This page was created in 29.2 ms