Talk:Words containing "the" substring: Difference between revisions

(→‎Trivial task: added some comments.)
Line 12:
 
:::: I'll try to answer the &nbsp; "'''So?'''" &nbsp; queries as politely as possible and keep my answers as civil as possible, ignoring your use of a strawman augment. &nbsp; The addition of reading/processing the words in a dictionary (file) is somewhat trivial, &nbsp; but it <u>is</u> part of the task, &nbsp; and part of Rosetta Code's purpose is to compare how different computer programming languages (and programmers) implement even small requirements, albeit maybe somewhat trivial, &nbsp; but not incidental. &nbsp; I don't know what the author of this task considers incidental, &nbsp; but I won't say that he considers it trivial or not. &nbsp; As trivial as it seems, &nbsp; it is necessary to read/process the input file (the dictionary) and it <u>is</u> one of the task's requirements (although implied), &nbsp; but different computer programming languages could do it much differently and/or simply; &nbsp; '''SAS''' &nbsp;and&nbsp; '''APL''' &nbsp; come to mind. &nbsp; I don't understand the need to mention your non sequitur comment about powering on your computer first. &nbsp; Furthermore, I never said nor implied that the showing the number of substrings found was a task requirement. &nbsp; It's common sense &nbsp; (but not required) &nbsp; to either show a running index count of the words found &nbsp; (especially if the number of words found isn't easily countable), &nbsp; or a summary total at the end of the displayed list, &nbsp; but that is something the programmer decides to implement &nbsp;(or not). &nbsp; &nbsp; -- [[User:Gerard Schildberger|Gerard Schildberger]] ([[User talk:Gerard Schildberger|talk]]) 19:11, 6 December 2020 (UTC)
 
::: If I may insert my 2 cents... although Gerard is possibly overstating the case, the use of the dictionary does make it a little different as we have to look at actual words in a language (English in the unixdict case). Questions like "which words in the language contain "the" as a substring" are (perhaps not enormously) interesting questions that are IMHO different to "show how to check a string contains a substring".
::: I see Thundergnat has (rightly IMHO) deleted the "find words that contain all the vowels" task as it is little different from this and the "find the words that contain "a", "b" and "c" in order" task etc. (Actually, I think the "find the words that contain all the vowels" is actually a marginally more interesting task than the ABC one but the ABC one came first...). --[[User:Tigerofdarkness|Tigerofdarkness]] ([[User talk:Tigerofdarkness|talk]]) 20:09, 6 December 2020 (UTC)
3,022

edits