many functions vs. one big one?

Options
curious if there are "best practice" approaches to this... both from a development standpoint and a Xano standpoint:

I've been working with single big functions based on categories (session funtions, member functions, etc.)

Particular sub-functions are found via if/then and request= inputs.

But they tend to get quite long.

Are there thoughts for organizing functions in one big function vs. many individual functions in the library?

thanks!