aop - Difference between Refactoring and Aspect Oriented Programming -


i have difficulty in understanding different between refactoring , aspect oriented programming.

i understand aspect oriented programming aims increase modularity separating cross cutting concerns, includes code duplication, tangling, etc.

but refactoring process of restructuring code without changing behavior , includes code duplication, etc.

do understand wrong or can explain me in easy way how understand two? thank you..

aop , refactoring 2 different things. refactoring has goal improve internal qualities of code without breaking features/functionality visible user. aop @ other side programming language paradigm introducing new language constructs aspects , pointcuts modularizing cross-cutting concerns. can used refactoring code improve modularity, refactoring isn't main goal.


Comments

Popular posts from this blog

rest - Spring boot: Request method 'PUT' not supported -

java - WrongTypeOfReturnValue exception thrown when unit testing using mockito -

symfony - imagine_filter() not generating the correct url in LiipImagineBundle -