Clean Code - Comments Are Lies

Topics covered
Popular Clips
Episode Highlights
AOP Basics
Aspect-oriented programming (AOP) offers a unique approach to handling cross-cutting concerns in software development. Joe Zack explains how AOP can simplify tasks like null checking, logging, and exception handling by isolating these concerns into separate aspects. This method allows the core business logic to remain clean and focused, enhancing code maintainability and readability 1. Alan Underwood and Joe also highlight a presentation by the creator of PostSharp, who demonstrated advanced uses of AOP, such as enforcing design patterns and generating compile-time errors for non-compliance 2.
You could use aspects to enforce design patterns so that if you see that something isn't being done, then you could either wrap it into the correct design pattern.
--- Joe Zack
These insights reveal the potential of AOP to not only reduce boilerplate code but also to ensure adherence to best practices.
  Â
Personal Insights
The hosts share their personal experiences with various programming paradigms, including AOP. Joe recounts his struggles with object-oriented programming and the shift to composition, emphasizing the importance of flexibility in choosing the right tool for the job 3. He also discusses meeting influential figures in the AOP community, such as the author of AOP in .NET, and how these encounters have shaped his understanding and application of AOP 4.
Sometimes, you know, we got to stop that. Like, we can't, we can't say it's going to be all or nothing in one thing.
--- Joe Zack
These experiences underscore the value of being open to different programming approaches and learning from industry experts.
Related Episodes


Clean Code - How to Write Classes the Right Way
Answers 383 questionsClean Code - How to Write Amazing Functions
Answers 383 questionsClean Code - Formatting Matters
Answers 383 questions

Clean Code - How to Build Maintainable Systems
Answers 383 questions

Clean Architecture - Are Microservices Truly Decoupled?
Answers 383 questions

Supporting Your Code, README vs Wiki and Test Coverage
Answers 383 questions

Google’s Engineering Practices – Code Review Standards
Answers 383 questionsClean Code - Writing Meaningful Names
Answers 383 questions

Google's Engineering Practices - What to Look for in a Code Review
Answers 383 questions

Clean Architecture - Programming Paradigms
Answers 383 questionsHow to be a Programmer
Answers 383 questionsHow to be an Intermediate Programmer
Answers 383 questions
Clean Architecture - Fight for Architecture
Answers 383 questions

Google’s Engineering Practices – How to Navigate a Code Review
Answers 383 questions86. Lightning Talks
Answers 383 questions
