On 4/26/07, <b class="gmail_sendername">Guido van Rossum</b> <<a href="mailto:email@example.com">firstname.lastname@example.org</a>> wrote:<div><span class="gmail_quote"></span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<br>You summarize the differences clearly. Let's agree to disagree. I<br>think that having to have an abstraction marker on the class *and* on<br>the abstract methods is asking the user to repeat (nearly) the same<br>
information twice, and I really don't think that a (partially)<br>abstract class needs to be re-marked as abstract.</blockquote><div><br>OK. I still believe that this slight flaw is worth the benefit of def time checks, but accept your judgement that the use cases I have in mind are not common enough to justify it. Consider my proposal withdrawn.
<br></div><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">I find it hard to believe that the definition-time error saves you<br>much development time at all compared to a instantiation-time error.
<br>Others have already responded to your attitude towards unit tests --<br>if your unit tests take 10 minutes to run, you're doing something else<br>wrong. May I suggest you read this:<br><a href="http://googletesting.blogspot.com/2007/01/introducing-testing-on-toilet.html">
http://googletesting.blogspot.com/2007/01/introducing-testing-on-toilet.html</a></blockquote><div><br>Sigh. I think unit tests are great. I write unit tests for all of my code. I have a script that runs all the unit tests on our development branch overnight and emails me about the things that fails. I'm not motivated by a dislike of unit-tests. If anything, I am too much a believer in testing which is why I advocated the option to have more testing facilities (
i.e., def time tests). I think having more options available for testing is a good thing and I don't understand the vehement objections people have to anything that vaguely resembles static checks.<br><br>Thanks,<br>-Emin