Talk:Symmetric difference: Difference between revisions

(→‎Set type: Consensus ???)
Line 24:
 
:::::By changing the task to require input sanitation, it became necessary to mark a number of examples as incorrect, adding templates to identify those examples as requiring attention. If one were to change that requirement to allow noting input constraints as an alternate requirement, the ENAs aren't required, observers of the code are warned of caveats, and the core algorithm is still demonstrated. Does that make sense? --[[User:Short Circuit|Michael Mol]] 05:50, 10 February 2010 (UTC)
 
::::::Agree with you Micheal, about input validation and sanitation. For me, that's part of the user interface, (for user entered data) and for info in ascii/text files, the code that reads the records from the file.--[[User:Rldrenth|Rldrenth]] 17:06, 10 February 2010 (UTC)
 
::::The task asks for an operation of sets. It is reasonable to expect answers to be general over its inputs when those inputs are sets. If we give an answer where the input types are lists and not sets then that is a substitution of one well understood type by another well understood type, who's major differences are that a set is unordered and a list may have duplicates.
Anonymous user