Coding Blocks cover image

Clean Code – Comments Are Lies

Coding Blocks

00:00

Using Aspect Oriented Programming to Get Rid of Boiler Plate Cross Cutting Concerns

aspect oriented programming is a way to get rid of your boiler plate cross cutting concerns. Instead of having that null checking as part of the method, you write an aspect,. And in that way, you only have this null checking logic in one place. Or if you do any kind of logging logic, for example, insteadYou have a logging aspect and all your logging is done in that one place. The ea is that you leave your method to only contain the business logic that you're trying to solve. You could also enforce design patterns by throwing compilation errors or warnings at compile time.

Transcript
Play full episode

The AI-powered Podcast Player

Save insights by tapping your headphones, chat with episodes, discover the best highlights - and more!
App store bannerPlay store banner
Get the app