Talk:Search a list: Difference between revisions

Line 39:
I propose changing that sentence of the task description, to: "''Print an appropriate message if the needle is missing.''" Any objections?<br>
--[[User:Smls|Smls]] ([[User talk:Smls|talk]]) 11:14, 5 August 2016 (UTC)
 
* It's a good suggestion, and the reference to exceptions was probably always a bit parochial - exception-raising is more relevant to imperative languages and coding idioms than to function composition and functional languages. (A functional language might more typically, for example, use an option type (Maybe etc) and pass the invalid/undefined status of a result up through the composition chain). Hout
9,655

edits