DEV Community

Around IT In 256 Seconds

#66: Aspect-oriented programming: another level of code modularization

DRY, or don’t repeat yourself is a common principle in pSpring AOP riddlerogramming. That’s why we invented functions and objects. But some sources of duplication are really hard to get rid of. Well, sometimes it’s even hard to realize there’s duplication in the first place! Common examples are logging, validation, checking security, starting a transaction. Often, these are one-liners that are too simple to extract. Too mundane too bother. And too ubiquitous to forget.

Read more: https://nurkiewicz.com/66

Get the new episode straight to your mailbox: https://nurkiewicz.com/newsletter

Episode source