Any other advice for functions?


#1

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.