Talk:Longest string challenge: Difference between revisions

From Rosetta Code
Content added Content deleted
(First cut)
 
Line 5: Line 5:
* Would it be fair to relax the lists to lists of lists or supplementary lists in cases of languages like C that represent strings as arrays?
* Would it be fair to relax the lists to lists of lists or supplementary lists in cases of languages like C that represent strings as arrays?
* Etc.
* Etc.
How about a discussion here of how this would apply to a few languages (say in the top 20 or so)?

Revision as of 23:45, 12 August 2011

Generalization

This is an interesting programming challenge. An active discussion is needed to strike a balance between generalization and defeating the task.

  • I would expect to see a number of languages mark this as omit.
  • Would this only be possible for languages with implicit iteration?
  • Would it be fair to relax the lists to lists of lists or supplementary lists in cases of languages like C that represent strings as arrays?
  • Etc.

How about a discussion here of how this would apply to a few languages (say in the top 20 or so)?