Talk:Longest string challenge: Difference between revisions

(→‎Suitability and Applicability: Not convinced this needs to be deleted.)
Line 158:
: Under "No comparisons" above, Dgamey specifically listed "no comparison functions like lt(a, b)", so that pretty much ruled out <code>op.gt</code>. <code>op.concat</code> would have been fine, but <code>lines += x</code> is simpler. The <code>longer</code> function uses only substring and boolean operations (the <code>and</code> can be turned into nested <code>if</code> blocks if booleans ops are not allowed), so I think it does not breach the requirement of the task. --[[User:Ledrug|Ledrug]] 06:51, 14 August 2011 (UTC)
::Ta. --[[User:Paddy3118|Paddy3118]] 09:31, 14 August 2011 (UTC)
 
== bounds checking in C ==
 
The last revision to the page claims: "Silently wrong result is no better than garbage output or crashing."
 
I believe this claim is false, since crashing can lead to machine compromises in contexts where the data comes from elsewhere. --[[User:Rdm|Rdm]] 02:51, 15 August 2011 (UTC)
6,962

edits