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 ProcBot (talk | contribs) at 12:19, 1 December 2020 (Task 7: Implement TfD). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.
WikiProject iconComputer science Stub‑class Low‑importance
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.
StubThis article has been rated as Stub-class on Wikipedia's content assessment scale.
LowThis article has been rated as Low-importance 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]