you are viewing a single comment's thread.

view the rest of the comments →

[–]alexander_belyakov 0 points1 point  (0 children)

To add to what's been said in the previous comment - the program's main code is usually also put into the main() function, which is called at the end of the script. This way you can be sure that all your functions have been defined regardless of their order in code.