Classes are collections of objects and methods that operate upon properties of those objects.
Functions are simply routines that take input and return a result.
One is no more professional than the other. Use what you need. Any good sized application will undoubtedly have classes, functions, and subroutines.
-- Rich