Verwendung von AOP in Refactoring
With AspectJ, you can write code that will intercept calls in an existing application without modification. You can use it to log results. Then, when you refactor, you can run again and see if the new set of results differs from the old one. If it does, you’e modified behavior. It’s time to roll back and start over again.
Aus Working Effectively With Legacy Code von Michael Feathers.
Leave a comment
You must be connected to write a comment.

