Talk:Execute a Markov algorithm: Difference between revisions

→‎Task addition: (Not by me)
(→‎Task addition: new section)
(→‎Task addition: (Not by me))
Line 153:
== Task addition ==
 
<strike>Paddy3118</strike> today added to the task description:
: In order to promote flexibility, the interpreter should load the set of rules from one file, take the string to operate on from a second file, and write the output to a third.
IMHO that's the antithesis of flexibility. You can redirect or pipe standard input/standard output. You can't easily do that with files. --[[User:Ce|Ce]] 22:32, 18 December 2009 (UTC)
 
:Hi Ce, I didn't make the addition to the task description. In fact, i too thought it was less flexible so wrote the following in the Pyhn example:
::"The example gains flexibility by not being tied to specific files. The functions may be imported into other programs which then can provide textual input from their sources without the need to pass 'file handles' around."
:--[[User:Paddy3118|Paddy3118]] 05:09, 19 December 2009 (UTC)
Anonymous user