Talk:Executable library: Difference between revisions

No edit summary
 
Line 14:
 
:: Executable library is duplicating the content of [[Scripted main]], thus both should be merged. The difference is that [[Scripted main]] contains bite size, simple examples in dozens of languages, while [[Executable library]] contains fewer, more overblown examples. I admit that my examples may be too simplistic to demonstrate the need for an "executable library", but I believe hailstone sequences are sufficiently complex that they distract from the purpose of an "executable library". --[[User:Mcandre]]
 
:::You say it is a duplicate then describe the differences. What you are ignoring is that the differences are important. An executable library could as a library contain code to work with the CGI protocol and when executed work as a CGI capable web server. Given that kind of existing capability a choice of adding extra functionality to an existing RC task alleviates some of the issues of how to have a meaningful task, that is not too complex.
:::In contrast, I have just reread scripted main and the description doesn't say that anything need be done to fulfil it! Someone needs to state in the task description just what is required to fulfil the task. You state that it has more examples. It also has issues in its talk page that are a long way from being resolved. --[[User:Paddy3118|Paddy3118]] 21:25, 13 September 2012 (UTC)
 
Scripted main states at the moment:
:''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 modulino. Examples from GitHub. Sometimes getting the ScriptName is required in order to determine when to run main(). ''
You could try answering in the text:
* Run directly vs what? Explain what you mean by direct/indirect running.
* Is it central as stated?
* Tell the example writer what is required to complete the task. A task needs to tell you how to complete it, you know, "Bring me The Ark of the Covenant" rather than "There's this box and it has great power". Only one is a task (even if you do receive lots of boxes in the post for the other)
--[[User:Paddy3118|Paddy3118]] 21:25, 13 September 2012 (UTC)
 
==Tcl problem==
Anonymous user