Talk:Input/Output for lines of text: Difference between revisions

From Rosetta Code
Content added Content deleted
m (Thundergnat moved page Talk:Input/Output for Lines of Text to Talk:Input/Output for lines of text: Follow normal task title capitalization policy)
(clarification)
Line 12: Line 12:
What is "''passing it to a method as an intermediate step''" supposed to mean?<br>
What is "''passing it to a method as an intermediate step''" supposed to mean?<br>
(See also the discussion section above this one, which demonstrates how that sentence can be ambiguous/confusing.) --[[User:Smls|Smls]] ([[User talk:Smls|talk]]) 21:53, 13 August 2016 (UTC)
(See also the discussion section above this one, which demonstrates how that sentence can be ambiguous/confusing.) --[[User:Smls|Smls]] ([[User talk:Smls|talk]]) 21:53, 13 August 2016 (UTC)
:This is an old one, but I agree. Maybe the task should be read an integer, read that many lines, then output those lines? That way it is just an simple task to show IO.[[User:Garbanzo|Garbanzo]] ([[User talk:Garbanzo|talk]]) 06:11, 29 August 2021 (UTC)

Revision as of 06:11, 29 August 2021

Perl 6

Do we have to be explicit about $*IN and $*OUT? What about just:

<lang perl6>say get() xx get;</lang>

?--Grondilu (talk) 06:51, 9 January 2014 (UTC)

But it was saying that you have to call an intermediate method, so I took it very literally as "method" rather than function. I also took it very literally that it didn't specify that you call a user-defined method. So I called a helper method already predefined on the handle. :-) --TimToady (talk) 05:36, 10 January 2014 (UTC)

Task needs clarification

What is "passing it to a method as an intermediate step" supposed to mean?
(See also the discussion section above this one, which demonstrates how that sentence can be ambiguous/confusing.) --Smls (talk) 21:53, 13 August 2016 (UTC)

This is an old one, but I agree. Maybe the task should be read an integer, read that many lines, then output those lines? That way it is just an simple task to show IO.Garbanzo (talk) 06:11, 29 August 2021 (UTC)