When do you know...

When do you know that you've got the right answer to a programming conundrum? When the answer means you delete lots of code, and the final product is more efficient, more flexible, and more robust. I love programming.