Talk:Averages/Mode: Difference between revisions

(Respond to issues)
Line 3:
:I think it can be open to all types of objects. Since all we need is a count of how many of each thing there is, and don't need to do arithmetic on the values, they don't need to be numbers, right? Perhaps we can allow them to use a collection of integers or floats or other objects, whichever is easiest in their language. --[[User:Spoon!|Spoon!]] 03:08, 15 June 2009 (UTC)
::The Tcl version can also do any type too as it happens (strictly any value supporting comparison for equality with another value, but all values do in Tcl). I avoided saying "numbers" because it's much less clear as to what that means and I want to keep things simple for the strictly-typed folks. —[[User:Dkf|Donal Fellows]] 08:10, 15 June 2009 (UTC)
::Also, I used “vector” because that language was used in several related tasks. —[[User:Dkf|Donal Fellows]] 13:57, 15 June 2009 (UTC)
 
==Similarity with other tasks==
This task is similar to [[Anagrams]]. Perhaps we can borrow ideas from that page. --[[User:Spoon!|Spoon!]] 03:08, 15 June 2009 (UTC)
Anonymous user