I have several functions that could be events and several events that could be functions. Which should I choose?
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.
1 Like