Talk:Programming by permutation
Appearance
This is the talk page for discussing improvements to the Programming by permutation article. This is not a forum for general discussion of the article's subject. |
Article policies
|
Find sources: Google (books · news · scholar · free images · WP refs) · FENS · JSTOR · TWL |
This article is rated Stub-class on Wikipedia's content assessment scale. It is of interest to the following WikiProjects: | ||||||||||||||||||
|
2GB Input String
[edit]"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)
- 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)
Permutations are not Perturbations
[edit]- 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