"Emin.shopper Martinian.shopper" <[EMAIL PROTECTED]> wrote: > On 4/25/07, Calvin Spealman <[EMAIL PROTECTED]> wrote: > > > > It sounds like you just need better unit tests. > > Only if you believe you can unit test everything within a few seconds. If > you believe that there exist data structures or algorithms where a > meaningful unit test takes many minutes or hours, then there is value in an > ABC enforcement mechanism.
If your unit tests take hours to run, then you aren't going to get anything useful from the ABC requirements for hours either (unless you are pre-instantiating everything you are going to use during program execution, in which case this could become your unittest). Please remember that this isn't about Java style type checking and verification during compilation. This is, strictly speaking, ABC checking on object instantiation, method invocation, and possibly even argument verification. This isn't the magic bullet you are looking for (you'll have to go to one of those static typed languages for that). - Josiah _______________________________________________ Python-3000 mailing list Python-3000@python.org http://mail.python.org/mailman/listinfo/python-3000 Unsubscribe: http://mail.python.org/mailman/options/python-3000/archive%40mail-archive.com