Any other advice for functions?

Question

Any other advice for functions?

Answer

Try and keep them simple. Don’t create massive functions. If you feel like your function is getting too large you should try and break it down into smaller functions so it is less repetitive and more manageable.