Modulinos: Difference between revisions

Content added Content deleted
(Added link to modulino talk)
Line 1: Line 1:
{{draft task|Basic language learning}}
{{draft task|Basic language learning}}
It is useful to be able to execute a main() function only when a program is run directly. This is a central feature in programming scripts; the feature is called ''scripted main''.
It is useful to be able to execute a main() function only when a program is run directly. This is a central feature in programming scripts; the feature can be called ''scripted main'' or [http://www.slideshare.net/brian_d_foy/advanced-modulinos ''modulino''].


Examples from [https://github.com/mcandre/scriptedmain GitHub].
Examples from [https://github.com/mcandre/scriptedmain GitHub].