Anonymous user
Talk:Words containing "the" substring: Difference between revisions
Talk:Words containing "the" substring (view source)
Revision as of 19:11, 6 December 2020
, 3 years ago→Trivial task: added some comments.
(→Trivial task: - yes) |
(→Trivial task: added some comments.) |
||
Line 10:
:::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 "'''So?'''" queries as politely as possible and keep my answers as civil as possible, ignoring your use of a strawman augment. The addition of reading/processing the words in a dictionary (file) is somewhat trivial, but it <u>is</u> part of the task, 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, but not incidental. I don't know what the author of this task considers incidental, but I won't say that he considers it trivial or not. As trivial as it seems, it is necessary to read/process the input file (the dictionary) and it <u>is</u> one of the task's requirements (although implied), but different computer programming languages could do it much differently and/or simply; '''SAS''' and '''APL''' come to mind. I don't understand the need to mention your non sequitur comment about powering on your computer first. Furthermore, I never said nor implied that the showing the number of substrings found was a task requirement. It's common sense (but not required) to either show a running index count of the words found (especially if the number of words found isn't easily countable), or a summary total at the end of the displayed list, but that is something the programmer decides to implement (or not). -- [[User:Gerard Schildberger|Gerard Schildberger]] ([[User talk:Gerard Schildberger|talk]]) 19:11, 6 December 2020 (UTC)
|