Clean Code Function: Writing Efficient & Maintainable Code