![]() |
sponsored links |
|
|
sponsored links
|
|
|
2
10th June 09:18
External User
Posts: 1
|
I doubt NT 1.0 was particularly stable. If it was, it would certainly
not be in Microsoft's tradition. Not at all a proof, but I consider it a fairly strong indication. It's about how developers interact, not about a cathedral building vs bazaar junk. Even I know that, and I think you do too. You can catch a bug either before or after an official release is out. According to you, practically all bugs should be caught before the release. I pointed out that gcc has a very active process for catching bugs after the release, and thus does not follow your guidelines at all. I also tried to make it probable that many or perhaps most of the compilations of the new code were buggy. I take what you've said on face value. The problem is that you don't seem to mean what you say. Now, it's not compiling a part of the program but linking the final product. Could you then please elaborate a little? Do you consider it OK to have a unit test that doesn't work after linking? And, do you consider it OK to have a beta program that doesn't work after linking? Perhaps you should stop saying that "compiled code works"? It does not seem accurate for what you actually mean. That's probably also why Francis had to go out and remind us that you're working on systems where a single bug may have big consequenses. I base it on the egcs team's statement that they wanted more interaction with users, more frequent official versions and a "faster debugging cycle". Between the last two good versions (2.95 and 3.2) there have been numerous buggy versions. Before egcs, I have the impression that every function should pass through one of the selected few before being incorporated into the main source tree. I think most of gcc's developers have learned by doing. If every new function had been under the scrutiny you suggest, I suspect the process had been bogged down waiting for people who could to do proper code reviews. In the end it could put off developers with ideas but without the needed experience. Better release it with possibly a few minor bugs. I've no problems with this, if I use some new functionality in some program, I expect it to be buggy. I'm happy we can finally pinpoint our different opinions. You base your opinion on your experience and on what you've read. I base my opinions on my experience and the fact that most of the desktop programs I use have had numerous buggy versions in the past. -- Tom Houlder thoulder@houlder.net Chic - C++ without hassles http://www.houlder.net [ See http://www.gotw.ca/resources/clcm.htm for info about ] [ comp.lang.c++.moderated. First time posters: Do this! ] |
|
|
9
28th June 00:37
External User
Posts: 1
|
kanze@gabi-soft.fr writes:
I am very sceptical of this claim. A reviewer may be a highly skilled programmer but he or she is not infallible. It's just as crazy to claim that a review will find all bugs as to claim that testing will. As Knuth famously said: 'Beware of bugs in the above code; I have only proved it correct, not tried it.' So what, then, is the cost of the programmer doing a test? I think it depends very much on the application, but the time taken is probably proportional to the complexity of the interface being implemented. that change is just a refactoring and shouldn't change the existing behaviour, then there is no reason not to run the existing test suite and check for regressions. Why wait for a review first? You can test now and still get your review later. This is an argument for having code reviews. It is not an argument against programmers testing their code before review time. Yes, and myself, I make more effort to make the code work. If I know code is going to be seen by others I am more likely to test it (or test it more thoroughly) before they see it. Hmm, this is an interesting approach. Sometimes after finding a bug during testing I will look back over existing code to find other instances of the same bug, or something that could be like it. But often what went wrong is some silly mistake like i += 0. I don't think those need a full investigation during review; I would however investigate what went wrong if the test suite failed to catch that bug. Surely you could apply the same approach to testing. After each test failure the developer (or developers, if you are using XP and two people wrote the code together) ****yse what went wrong. If the bug wasn't caught by early tests but only in production, you also have to work out why the test suite didn't catch it. -- Ed Avis <ed@membled.com> [ See http://www.gotw.ca/resources/clcm.htm for info about ] [ comp.lang.c++.moderated. First time posters: Do this! ] |
|