Modulinos: Difference between revisions
Content deleted Content added
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 |
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]. |