Talk:Cumulative standard deviation: Difference between revisions

m
(→‎Function takes vector/array or single value?: unfortunate case of an unfairly restrictive task description)
Line 19:
:: If there weren't such a huge number of existing solution making changes unfeasible now, I would suggest to:
::* Rename the task to "Running standard deviation" (so that a separate "Standard deviation" task can deal with the simpler case of fixed inputs).
::* Change the task description to something like "''For a stream of values that may come in over time (e.g. from standard input or from another algorithm), calculate and print the running standard deviation immediately after each incoming value''". Leave it open to implementors how to doaccomplish this. Some may use a stateful function that is called repeatedly with single values, while others may use a function that takes a stream or lazy list as argument, etc.
::It may be too late for this task, but lets try to make sure that in the future, such needlessly restrictive tasks get fixed during draft stage (and before they become big). Tasks asking for specific programming idioms or language features should be clearly named as such - generic math-problem tasks should not be hijacked for that.
::--[[User:Smls|Smls]] ([[User talk:Smls|talk]]) 12:03, 17 June 2015 (UTC)
Anonymous user