Jump to content

Talk:Programming by permutation

Page contents not supported in other languages.
From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by OrangeDog (talk | contribs) at 23:29, 29 March 2009 (project tagging using AWB). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.
WikiProject iconComputer science Unassessed
WikiProject iconThis article is within the scope of WikiProject Computer science, a collaborative effort to improve the coverage of Computer science related articles on Wikipedia. If you would like to participate, please visit the project page, where you can join the discussion and see a list of open tasks.
???This article has not yet received a rating on Wikipedia's content assessment scale.
???This article has not yet received a rating on the project's importance scale.
Things you can help WikiProject Computer science with:

2GB Input String

"If the input string is longer than INT_MAX..."

...then you have much bigger problems than undefined behaviour of strlen(). 142.59.175.105 (talk) 14:25, 4 October 2008 (UTC)[reply]

Indeed, the errors remaining are not necessaryly errors per se, more like design criteria. The bug in the code was clearly to do with the increment, its discovery by permuting the deletion of one of the increments is an example of this programming style, but the remaining 'bugs' may not be bugs at all. Of the four remaining errors listed: concatenation may be a desired behaviour negating the first point, bounds checking is often skipped if the input has already been validated negating points two and three, and the fourth point is invalid if the input is restricted to 7-bit ASCII. Of all these, only the isdigit is really a potential issue with the snippet of code, as it does have undefined behaviour for negative numbers. The rest are situational and are not bugs by themselves, only potential sources of bugs. Nazlfrag (talk) 10:37, 21 November 2008 (UTC)[reply]

Permutations are not Perturbations

iteratively making small changes (permutations)

I think there is a linguistic confusion here

permutations : testing with all possible values

perturbations : testing the effect of small changes

--87.194.174.252 (talk) 16:09, 13 March 2009 (UTC)[reply]