During development, complex logic inevitably emerges. While I try to keep things as simple as possible, there are times when no matter what I try, I can't make the code simple. It makes me uncomfortable whenever I encounter these situations.
How do you all handle development in these situations? I suppose things like adding comments would be one approach.