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

→‎Trivial task: I'm sure "incivility" will be bandied about soon
(→‎Trivial task: I'm sure "incivility" will be bandied about soon)
Line 8:
 
:: Those are '''all''' incidental and peripheral to the task. It also doesn't specify to power your computer on first. I suppose I should look forward to the task "Turn on your computer then find words containing "the" substring" because "Thatss completetly diffent!!1!1" Sheesh. --[[User:Thundergnat|Thundergnat]] ([[User talk:Thundergnat|talk]]) 17:48, 6 December 2020 (UTC)
non sequitur
 
:::I agree. Finding a substring of a string is just problem 2 of [[String matching]], and reading in a dictionary first is a trivial addition- especially since so many of the recent tasks involve reading in the same dictionary. [[User:Thebigh|Thebigh]] ([[User talk:Thebigh|talk]]) 18:20, 6 December 2020 (UTC)
 
:::: 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)
 
::::: Looks like you need to go and reread the definition of strawman since you seem to be confused about it. I directly refuted the points '''you''' brought up, quoting ''your'' words directly.
 
::::: There ''is'' no requirement that you <u>load</u> a dictionary, so talking about task requirements (even trivial ones) dealing with loading, filtering and storing the dictionary '''IS COMPLETELY BESIDES THE POINT'''. The requirement is that you '''use''' a specific dictionary. How it is done is peripheral to the task. The task is '''Find words containing the substring "the"'''. In what way does loading the dictionary for this ''task'' differ from that in: [[Prime words]] or [[Odd words]] or [[Alternade words]] or [[ABC words]] or [[Teacup_rim_text]] or many others? It doesn't. <quote>It's common sense</quote> But it is '''not''' a requirement, so using that as a justification for why this task is different '''IS COMPLETELY BESIDES THE POINT'''.
 
::::: That brings us back to the actual task requirements, essentially, filter a list based on some substring thereof; much like [[String matching]] or [[ABC words]], two tasks among many that quite admirably cover this concept quite well. The point this whole thread started with was "Please lets cut down on the largely redundant tasks". Using examples of irrelevant implementation details and what the programmer <quote>decides to implement</quote> as argument for why it is not, is disingenuous at best. --[[User:Thundergnat|Thundergnat]] ([[User talk:Thundergnat|talk]]) 20:14, 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".
10,333

edits