Clean Code & Clean Architecture Flashcards
What are the key principles of Clean Code? Can you give examples of how they apply in real-world Java projects?
How would you recognize “code smells” in a codebase, and what steps would you take to address them?
Can you describe the difference between cohesion and coupling, and why they matter in a clean architecture?
What is Clean Architecture according to Uncle Bob? How does it differ from traditional layered architecture?
How do you structure a maintainable Java application using Clean Architecture? What roles do interfaces and dependency inversion play?
What are some common anti-patterns in Clean Code or Architecture, and how would you avoid them?
How do you ensure your codebase remains clean and architecturally sound as your team grows?