How to write clean & testable code without losing your mind

At 2017’s edition of the adaptTo() conference I talked about the relationship between testability and Clean Code, Design and Architecture – and how to achieve it in AEM (Adobe Experience Manager) applications.

“If you create software that is to be developed continuously over several years you’ll need a sustainable approach to code quality.

In our early days of AEM development, however, we used to struggle with code that is rigid, hard to test and full of LOG.debug calls.

In this talk I will share some development best practices we have found that really work in actual AEM based software, e.g. to achieve 100% code coverage and provide high confidence in the code base.

Spoiler alert: no new libraries, frameworks or tools are required – once you know the ideas, plain old TDD and the S.O.L.I.D. principles of Clean Code will do the trick.”

See the full presentation at adaptTo 2017

Leave a Reply