But if you have a lot of code, grouping in functions, I see 2 advantages :
- More readable. You have a main function, then subfonctions grouped intelligently. You can understand better and have a better view what does the main function. ( Too many subfunctions could do the opposite effect )
- More easy to debug. In case of bugs, you will find more fastly the problem if you need to debug the main function since you can debug each subfunctions.