I'm working on modernizing Rosetta Code's infrastructure. Starting with communications. Please accept this time-limited open invite to RC's Slack.. --Michael Mol (talk) 20:59, 30 May 2020 (UTC)

Talk:ABC words

From Rosetta Code

Can I just say[edit]

Anyone who uses bool1, bool2, bool3, bool4, and bool5 deserves shaming and public ridicule, especially if bool1/2/3 are not even bools but are actually integer indexes.
Use adx, bdx, cdx instead, and the test adx>0 and bdx>adx and cdx>bdx suffices - there is no need to test bdx>0 if it is >adx and adx is already known to be >0, ditto cdx>0.
--Pete Lomax (talk) 13:07, 5 December 2020 (UTC)

Idea for Stretch Goal[edit]

How about letting the user specify a multiple letter combination? As implemented in the C# example. It might get interesting though, because if the user specifies a repeated letter, the existing task description won't be appropriate. For example, when the letters "a", "l", and "l" are specified, the first occurrence of each of the specified letter "l"s would be on the same index, and would cause no words to be found. A revision to the task requirement would have to be made that allows the second, third, ... nth character occurrence to be used when multiple matching characters are specified.--Enter your username (talk) 18:23, 5 December 2020 (UTC)