42free
42free copied to clipboard
Define a main function
This has 2 major benefits:
- Readability: It's possible to read the script top to bottom in execution order.
- Security: Because first all functions get read into memory, once the call to main has been made, no changes during runtime - like when updating - can affect the script.