Talk:Longest string challenge: Difference between revisions

Line 56:
: "The only datatypes you may are use are integer and string. In particular, you may not use lists."
:: To avoid semantic arguments, "lists" means lists/arrays/vectors in the broader sense. However, clearly in the case of C, where strings are arrays of characters, this needs to be relaxed a bit. Using arrays for other than strings would be a cheat here. --[[User:Dgamey|Dgamey]] 12:35, 13 August 2011 (UTC)
 
::: These restrictions are utterly nonsensical in J. Consider for example, in the C implementation <code>p = &p[1]</code>. Is that an arithmetic operator? In essence, it's computing <code>p= p+1</code>. Anyways, in J, the restrictions make no sense except by reinterpreting the meaning of the language in much the way that <code>p = &p[1]</code> may be reinterpreted as <code>p= p+1</code>. --[[User:Rdm|Rdm]] 17:36, 14 August 2011 (UTC)
 
== Not pointless ==
6,962

edits