Newsletter sign-up
View all newsletters

Enterprise Java Newsletter
Stay up to date on the latest tutorials and Java community news posted on JavaWorld

JavaWorld Daily Brew

Aspect Oriented Programming vs Law of Demeter For concerns



hEllo all

Well im reading a paper titled "Controlling the complexity of software Designs".

it basically talking about how as the size and complexity of software projects have grown, so has the effort of identifying techniques to increase the maintainability and ‘adaptiveness’ of the software applications.
The Law of Demeter was one contribution to this effort. However, Since The Aspect Oriented Software Development (AOSD is the currently used approach to building software, researches had to re-think the general objectives of the LoD and come up with a revised version of it, which they called LoDC that helps us to better apply, explain and understand Aspect-Oriented Software Development.

i didnt know about AOSP before i read this paper so i had to study it first . and now that i know what it is and how to program using ASPECTJ , i have this question that is REALLLLYYY confusing me :

wats the difference between AOSD and LODC... i really see no DIFFERENCE AT ALL....

i found the following defintion :

 AOSD is an approach to software development that supports modularizing concern implementations that cut across other concern implementations.
 LoDC is an approach to software development that supports incremental development, concern by concern.

i mean..these are talkin about the exact same thing..we're just "twisting" the definition !
yet...i didnt really understand the difference...could you PLEASSSSSSE help..
thank you so much in advance