How should I split my functions across external scripts? What is considered good practice? should all my functions be crammed into one external
file or should I group like functions together?
I would guess more files mean more HTTP requests to obtain the script and that could slow down performance? However more files keep things organized: for example,
initializes things on load,
retrieves data from the server,
refer to UI handlers...
What's the pros advice on this?