Talk:Longest string challenge: Difference between revisions
Content added Content deleted
Line 148: | Line 148: | ||
:: I think this is clear. --[[User:Dgamey|Dgamey]] 12:35, 13 August 2011 (UTC) |
:: I think this is clear. --[[User:Dgamey|Dgamey]] 12:35, 13 August 2011 (UTC) |
||
::: Based on discussions below this is really about explicit math. It wasn't intended to exclude functions that implicitly advance a pointer/cursor. --[[User:Dgamey|Dgamey]] 06:00, 14 August 2011 (UTC) |
::: Based on discussions below this is really about explicit math. It wasn't intended to exclude functions that implicitly advance a pointer/cursor. --[[User:Dgamey|Dgamey]] 06:00, 14 August 2011 (UTC) |
||
:::: In my brain, <tt>i++</tt> sits smack dab in the middle between the two. It is expressly an arithmetic operation (in adds 1 to i, thus forbidden) but is almost never used that way. Instead it is usually used in the way that you allow up there as something that implicitly advances a pointer (<tt>r = s[i++]</tt> or some such). Is that allowed or restricted? |
|||
=== Use only integers and strings === |
=== Use only integers and strings === |
||
: "The only datatypes you may are use are integer and string. In particular, you may not use lists." |
: "The only datatypes you may are use are integer and string. In particular, you may not use lists." |