Talk:One of n lines in a file: Difference between revisions

→‎Rename?: Highlight previous comment.
(→‎Rename?: new section)
(→‎Rename?: Highlight previous comment.)
Line 22:
Actually since the task doesn't ask anyone to read a file anyway, shouldn't it be named something else like, er, "Choosing a random item from a sequence of unknown length"? --Ledrug 20:36, 14 September 2011 (UTC)
:I agree. None of the examples seem to use files at all. I'd say it needs a name (and probably a description) that doesn't mention files. Maybe the description should just mention files....less? --[[User:Mwn3d|Mwn3d]] 00:45, 29 September 2011 (UTC)
 
 
:From an answer I gave above:
::''My original reference talked about choosing lines from a file, hence the title. The algorithm may be of use elsewhere (thanks for your suggestion Ledrug), but unless this algorithm has another name by which it is more commonly known, then I would like to leave the name as it is, rather than thinking up a new name that may only be used on RC (rather than RC and StackOverflow :-)''
:--[[User:Paddy3118|Paddy3118]] 04:21, 29 September 2011 (UTC)
Anonymous user