digitalmars.D - [nomenclature] What is a bug?
- Justin Johansson (5/5) Oct 12 2010 Perhaps this topic could be posted as
- Simen kjaeraas (4/7) Oct 12 2010 Unwanted behavior? I guess that might be a tad simplistic.
- Justin Johansson (4/10) Oct 12 2010 Thanks, at least a trying response gratefully received.:-)
- Simen kjaeraas (8/10) Oct 12 2010 Unintended behavior with negative consequences. I'm not sure the last
- JMRyan (3/12) Oct 12 2010 I suppose this means that my children are full of bugs. :-)
- Lutger (9/16) Oct 12 2010 Behavior that is not according to spec.
- Nick Sabalausky (12/15) Oct 13 2010 Wanted behavior that you didn't know you wanted :) Funny how bugs will
- Iain Buclaw (3/20) Oct 13 2010 In case somebody hasn't already realised the distinction.
- Emil Madsen (7/31) Oct 18 2010 This is a bug:
- Jonathan M Davis (3/10) Oct 12 2010 Something to squish underfoot. ;)
- Bruno Medeiros (11/16) Oct 29 2010 A developer(s) designs a program/system/spec/whatever to exhibit certain...
Perhaps this topic could be posted as "[challenge] Define just exactly what a bug is". I trust this topic will yield some interesting conversation. Cheers Justin Johansson
Oct 12 2010
Justin Johansson <no spam.com> wrote:Perhaps this topic could be posted as "[challenge] Define just exactly what a bug is". I trust this topic will yield some interesting conversation.Unwanted behavior? I guess that might be a tad simplistic. -- Simen
Oct 12 2010
On 13/10/2010 12:19 AM, Simen kjaeraas wrote:Justin Johansson <no spam.com> wrote:Thanks, at least a trying response gratefully received.:-) What is "unwanted behavior" then to exact a formal definition of the same? - JJPerhaps this topic could be posted as "[challenge] Define just exactly what a bug is". I trust this topic will yield some interesting conversation.Unwanted behavior? I guess that might be a tad simplistic.
Oct 12 2010
Justin Johansson <no spam.com> wrote:What is "unwanted behavior" then to exact a formal definition of the same?Unintended behavior with negative consequences. I'm not sure the last part should be left in, as one could certainly argue that any unintended behavior is a bug, or at the very least a sign you don't know what the code does, so it should be considered buggy until otherwise proven. -- Simen
Oct 12 2010
"Simen kjaeraas" <simen.kjaras gmail.com> wrote in news:op.vkgsmjr4vxi10f biotronic-pc.lan:Justin Johansson <no spam.com> wrote:I suppose this means that my children are full of bugs. :-)Perhaps this topic could be posted as "[challenge] Define just exactly what a bug is". I trust this topic will yield some interesting conversation.Unwanted behavior? I guess that might be a tad simplistic.
Oct 12 2010
Justin Johansson wrote:Perhaps this topic could be posted as "[challenge] Define just exactly what a bug is". I trust this topic will yield some interesting conversation. Cheers Justin JohanssonBehavior that is not according to spec. The problem with that is that the spec may be unclear or not even exist. If in that case, some behavior is unwanted, I would call it a bug in the spec or requirements. Note that bugs may actually be wanted behavior. One such case is uniform function call syntax on arrays, which started life as a compiler bug. Afterwards, the spec was changed and thus the bug was solved.
Oct 12 2010
"Lutger" <lutger.blijdestijn gmail.com> wrote in message news:i92j0v$cov$1 digitalmars.com...Note that bugs may actually be wanted behavior. One such case is uniform function call syntax on arrays, which started life as a compiler bug. Afterwards, the spec was changed and thus the bug was solved.Wanted behavior that you didn't know you wanted :) Funny how bugs will occasionally inspire features. Legend has it that combos in fighting games started out as a bug in the original Street Fighter 2 (it would let you perform a new move while you were already in the middle of certain other moves.) The "coin boxes with multiple coins" in the original Super Mario Bros were added because an early bug did that and it turned out to be fun. Happened to me once to: a game-like demo I made for a hobbyist embedded system (Hydra) has a faked 3D effect which I only thought to put in because an early bug in my rendering code resulted in a similar (but less polished) 3D-like effect.
Oct 13 2010
== Quote from Nick Sabalausky (a a.a)'s article"Lutger" <lutger.blijdestijn gmail.com> wrote in message news:i92j0v$cov$1 digitalmars.com...In case somebody hasn't already realised the distinction. http://faux-rebonds.net/wp-content/uploads/2008/10/bug_vs_feature.gifNote that bugs may actually be wanted behavior. One such case is uniform function call syntax on arrays, which started life as a compiler bug. Afterwards, the spec was changed and thus the bug was solved.Wanted behavior that you didn't know you wanted :) Funny how bugs will occasionally inspire features. Legend has it that combos in fighting games started out as a bug in the original Street Fighter 2 (it would let you perform a new move while you were already in the middle of certain other moves.) The "coin boxes with multiple coins" in the original Super Mario Bros were added because an early bug did that and it turned out to be fun. Happened to me once to: a game-like demo I made for a hobbyist embedded system (Hydra) has a faked 3D effect which I only thought to put in because an early bug in my rendering code resulted in a similar (but less polished) 3D-like effect.
Oct 13 2010
This is a bug: http://www.ent.iastate.edu/images/hemiptera/stinkbug/brown_stink_bug_adult.jpg Atleast for people who gets outside. - or well.. thats what I'm told :) On 13 October 2010 15:51, Iain Buclaw <ibuclaw ubuntu.com> wrote:== Quote from Nick Sabalausky (a a.a)'s article-- // Yours sincerely // Emil 'Skeen' Madsen"Lutger" <lutger.blijdestijn gmail.com> wrote in message news:i92j0v$cov$1 digitalmars.com...uniformNote that bugs may actually be wanted behavior. One such case isearlyfunction call syntax on arrays, which started life as a compiler bug. Afterwards, the spec was changed and thus the bug was solved.Wanted behavior that you didn't know you wanted :) Funny how bugs will occasionally inspire features. Legend has it that combos in fighting games started out as a bug in the original Street Fighter 2 (it would let you perform a new move while you were already in the middle of certain other moves.) The "coin boxes with multiple coins" in the original Super Mario Bros were added because anbug did that and it turned out to be fun. Happened to me once to: a game-like demo I made for a hobbyist embedded system (Hydra) has a faked3Deffect which I only thought to put in because an early bug in myrenderingcode resulted in a similar (but less polished) 3D-like effect.In case somebody hasn't already realised the distinction. http://faux-rebonds.net/wp-content/uploads/2008/10/bug_vs_feature.gif
Oct 18 2010
On Tuesday, October 12, 2010 06:14:24 Justin Johansson wrote:Perhaps this topic could be posted as "[challenge] Define just exactly what a bug is". I trust this topic will yield some interesting conversation. Cheers Justin JohanssonSomething to squish underfoot. ;) - Jonathan M Davis
Oct 12 2010
On 12/10/2010 14:14, Justin Johansson wrote:Perhaps this topic could be posted as "[challenge] Define just exactly what a bug is". I trust this topic will yield some interesting conversation. Cheers Justin JohanssonA developer(s) designs a program/system/spec/whatever to exhibit certain behavior. A bug is a behavior exhibited by that creation but which was not intended or expected according to the underlying design. (Design in this context includes the whole source of the program, not just architecture, "overall design" or something like that.) "Unwanted" behavior is not a good definition. A behavior can be intended/expected even if is unwanted or undesired. (enhancements, behaviors beyond the control of the program, etc.) -- Bruno Medeiros - Software Engineer
Oct 29 2010