How to elegantly implement complex business logic?

How to implement complex business logic?