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

(Put conversation in order, add some more comment)
 
(5 intermediate revisions by 3 users not shown)
Line 31:
::: 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)
 
===Some Comparisons===
We can directly compare answers to the ''tasks'' said to be similar. Would a curious programmer not versed in these particular languages , having read a languages example in the string matching task, gain much from the languages extra code in this new task?
 
* [[Words containing "the" substring#FreeBASIC]], [[String matching#FreeBasic]].
* [[Words containing "the" substring#REXX]], [[String matching#REXX]].
* [[Words containing "the" substring#Raku]], [[String matching#Raku]].
* [[Words containing "the" substring#AWK]], [[String matching#AWK]].
 
 
<br>
--[[User:Paddy3118|Paddy3118]] ([[User talk:Paddy3118|talk]]) 00:23, 7 December 2020 (UTC)
 
=== "(on this page)"? ===
 
I think I overlooked that little part; am I right in interpreting this as that very RosettaPage's contents? I've changed my code snippet, but do not see it in other solutions, and now I am a bit confused.
Sorry, me stupid; if so I can revert to the old. [[User:Cg|Cg]] ([[User talk:Cg|talk]]) 14:52, 9 December 2020 (CET)
:Unlikely, it probably just meant "show output here", and in any case any pertinent words in unixdict.txt are ''all'' by now repeated multiple times on this page, which would make any such filtering utterly pointless. --[[User:Petelomax|Pete Lomax]] ([[User talk:Petelomax|talk]]) 16:16, 9 December 2020 (UTC)
::Yup, you're right. Counting might have made a little sense, but these numbers would also change... Thanks. [[User:Cg|Cg]] ([[User talk:Cg|talk]]) 17:24, 9 December 2020 (CET)
Anonymous user