Generally speaking, functions should give you a value, they should have output.
Events are for ‘getting things done’.
There’s a lot of misinformation on youtube, where people use functions for things that should really be connected to events.
There’s no difference in performance.