dynamic classes and duck typing

dsimcha dsimcha at yahoo.com
Tue Dec 1 13:24:22 PST 2009


== Quote from retard (re at tard.com.invalid)'s article
> Tue, 01 Dec 2009 10:46:11 -0800, Walter Bright wrote:
> > Leandro Lucarella wrote:
> >> I really think the *only* *major* advantage of D over Python is speed.
> >> That's it.
> >
> > I probably place a lot more importance on static verification rather
> > than relying on convention and tons of unit tests.
> In many places if you apply for a job, static verification is more or
> less bullshit talk to their ears. Unit testing with large frameworks is
> the way to go. You even have lots of new paradigms to learn, e.g. TDD,
> BDD, ...

My biggest gripe about static verification is that it can't help you at all with
high-level logic/algorithmic errors, only lower level coding errors.  Good unit
tests (and good asserts), on the other hand, are invaluable for finding and
debugging high-level logic and algorithmic errors.



More information about the Digitalmars-d mailing list