3 ms·
Defining a main function and then calling it from the bottom of your script is a mainstay of many people who program in scripting languages. It's certainly how
by RHSeeger 6y ago
Defining a main function and then calling it from the bottom of your script is a mainstay of many people who program in scripting languages. It's certainly how I did things in Tcl. Really, it depends on the type of thing you're writing in the language, moreso than the language itself.